From ac23ac477a4ca1adc7c68a2909913c41104a94ad Mon Sep 17 00:00:00 2001 From: Mohammad Alavi Date: Fri, 8 Apr 2022 19:40:05 +0430 Subject: [PATCH] refactor: update test --- .../AppSection/User/UI/API/Tests/Functional/GetAllUsersTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 80a6cb459..5f7043483 100644 --- a/app/Containers/AppSection/User/UI/API/Tests/Functional/GetAllUsersTest.php +++ b/app/Containers/AppSection/User/UI/API/Tests/Functional/GetAllUsersTest.php @@ -59,7 +59,7 @@ public function testSearchUsersByName(): void 'name' => 'mahmoudzzz', ]); - $response = $this->endpoint($this->endpoint . "?search=name:$user->name")->makeCall(); + $response = $this->endpoint($this->endpoint . "?search=name:" . urlencode($user->name))->makeCall(); $response->assertStatus(200); $response->assertJson(