Merge pull request #14783 from snipe/fixes/fixed_category_test_depreciation_warning

Fixed deprecation warning on category test
This commit is contained in:
snipe 2024-05-29 11:19:31 +01:00 committed by GitHub
commit 2f828683da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.");
}
}