Files
AFC-Demo/tests/Feature/Auth/PasswordConfirmationTest.php
T

12 lines
242 B
PHP
Raw Normal View History

2025-10-16 14:22:46 +02:00
<?php
use App\Models\User;
2025-10-16 14:22:58 +02:00
test('confirm password screen can be rendered', function () {
$user = User::factory()->create();
2025-10-16 14:22:46 +02:00
2025-10-16 14:22:58 +02:00
$response = $this->actingAs($user)->get(route('password.confirm'));
2025-10-16 14:22:46 +02:00
2025-10-16 14:22:58 +02:00
$response->assertStatus(200);
2025-10-20 22:10:08 +02:00
});