Skip to content

Commit

Permalink
refactor: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Apr 8, 2022
1 parent 7e2102c commit ac23ac4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ac23ac4

Please sign in to comment.