mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 05:56:16 +00:00
@ -13,7 +13,7 @@ public function test_logout(): void
|
||||
{
|
||||
$this->actingAs($this->user);
|
||||
|
||||
$this->post(route('logout'))->assertRedirect(route('login'));
|
||||
$this->post(route('logout'))->assertRedirect('/');
|
||||
|
||||
$this->assertFalse(auth()->check());
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ public function test_confirm_password_screen_can_be_rendered(): void
|
||||
{
|
||||
$this->actingAs($this->user);
|
||||
|
||||
$response = $this->get('/confirm-password');
|
||||
$response = $this->get(route('password.confirm'));
|
||||
|
||||
$response->assertStatus(200);
|
||||
}
|
||||
@ -26,7 +26,7 @@ public function test_password_can_be_confirmed(): void
|
||||
{
|
||||
$this->actingAs($this->user);
|
||||
|
||||
$response = $this->post('/confirm-password', [
|
||||
$response = $this->post(route('password.confirm'), [
|
||||
'password' => 'password',
|
||||
]);
|
||||
|
||||
@ -38,7 +38,7 @@ public function test_password_is_not_confirmed_with_invalid_password(): void
|
||||
{
|
||||
$this->actingAs($this->user);
|
||||
|
||||
$response = $this->post('/confirm-password', [
|
||||
$response = $this->post(route('password.confirm'), [
|
||||
'password' => 'wrong-password',
|
||||
]);
|
||||
|
||||
|
Reference in New Issue
Block a user