Fixed deprecation warning on category test

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-05-29 11:06:51 +01:00
parent bb95c231e5
commit 13db151297

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