get(route('my-runs')); $response->assertRedirect(route('login')); }); test('authenticated users can visit the home page', function () { $this->actingAs(User::factory()->create()); $response = $this->get(route('home')); $response->assertStatus(200); });