Tes Laravel menegaskan pengalihan ke

$response = $this->get('/');

$response->assertStatus(302);
$response->assertRedirect(route('users.index'));
Tiago F2