From 00cd5f8a4182a453949ad40b57e86652e7185399 Mon Sep 17 00:00:00 2001 From: mohammad-alavi Date: Fri, 1 Oct 2021 21:12:41 +0330 Subject: [PATCH] fix false positive test --- .../AppSection/User/UI/API/Tests/Functional/GetAllUsersTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Containers/AppSection/User/UI/API/Tests/Functional/GetAllUsersTest.php b/app/Containers/AppSection/User/UI/API/Tests/Functional/GetAllUsersTest.php index 7978dc412..0b58c33a6 100644 --- a/app/Containers/AppSection/User/UI/API/Tests/Functional/GetAllUsersTest.php +++ b/app/Containers/AppSection/User/UI/API/Tests/Functional/GetAllUsersTest.php @@ -23,6 +23,7 @@ class GetAllUsersTest extends ApiTestCase public function testGetAllUsersByAdmin(): void { User::factory()->count(2)->create(); + $this->getTestingUserWithoutAccess(createUserAsAdmin: true); $response = $this->makeCall();