Update Test: user definitely exists
This commit is contained in:
parent
19afa7ff82
commit
49e4e3976d
@ -18,7 +18,7 @@ public function test_success_get_users(): void
|
|||||||
|
|
||||||
public function test_success_get_one_user(): void
|
public function test_success_get_one_user(): void
|
||||||
{
|
{
|
||||||
$user = User::query()->first();
|
$user = User::factory()->create();
|
||||||
|
|
||||||
$this->get('/user/' . $user->id)
|
$this->get('/user/' . $user->id)
|
||||||
->assertStatus(200);
|
->assertStatus(200);
|
||||||
|
Loading…
Reference in New Issue
Block a user