diff --git a/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/CreateRoleTest.php b/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/CreateRoleTest.php index 5e971a28d..f1812c173 100644 --- a/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/CreateRoleTest.php +++ b/app/Containers/AppSection/Authorization/UI/API/Tests/Functional/CreateRoleTest.php @@ -50,7 +50,7 @@ public function testCreateRoleWithWrongName(): void fn (AssertableJson $json) => $json->has('message') ->has('errors') - ->where('errors.name.0.0', 'String should not contain space.') + ->where('errors.name.0', 'String should not contain space.') ); }