mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fixed deprecation warning on category test
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
bb95c231e5
commit
13db151297
|
@ -20,7 +20,7 @@ class CategoryTest extends TestCase
|
|||
];
|
||||
$errors = $a->getErrors();
|
||||
foreach ($fields as $field => $fieldTitle) {
|
||||
$this->assertEquals($errors->get($field)[0], "The ${fieldTitle} field is required.");
|
||||
$this->assertEquals($errors->get($field)[0], "The $fieldTitle field is required.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue