From f198c6cf723f265f63f07812eb4c1dab13f0683c Mon Sep 17 00:00:00 2001 From: Mohammad Alavi Date: Mon, 13 Dec 2021 13:25:34 +0330 Subject: [PATCH] fix test --- .../Authorization/UI/API/Tests/Functional/CreateRoleTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.') ); }