byos_laravel/tests/Feature/Auth/PasswordConfirmationTest.php
2026-01-15 23:34:58 +01:00

13 lines
302 B
PHP

<?php
use App\Models\User;
uses(Illuminate\Foundation\Testing\RefreshDatabase::class);
test('confirm password screen can be rendered', function (): void {
$user = User::factory()->create();
$response = $this->actingAs($user)->get(route('password.confirm'));
$response->assertOk();
});