mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 22:37:28 -08:00
Merge pull request #14783 from snipe/fixes/fixed_category_test_depreciation_warning
Fixed deprecation warning on category test
This commit is contained in:
commit
2f828683da
|
@ -20,7 +20,7 @@ class CategoryTest extends TestCase
|
||||||
];
|
];
|
||||||
$errors = $a->getErrors();
|
$errors = $a->getErrors();
|
||||||
foreach ($fields as $field => $fieldTitle) {
|
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