create(); $response = $this->actingAs($user)->get(route('password.confirm')); $response->assertStatus(200); $response->assertInertia(fn (Assert $page) => $page ->component('auth/confirm-password') ); } public function test_password_confirmation_requires_authentication() { $response = $this->get(route('password.confirm')); $response->assertRedirect(route('login')); } }