get('/'); // Root URL redirects to login page $response->assertRedirect(route('login')); } }