mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -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();
|
||||
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