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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue