Update Test: user definitely exists

This commit is contained in:
NoAvatar 2024-10-17 06:17:37 +10:00
parent 19afa7ff82
commit 49e4e3976d

View File

@ -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);