su-secret-santa/tests/Feature/Auth/PasswordConfirmationTest.php

11 lines
241 B
PHP

<?php
use App\Models\User;
test('confirm password screen can be rendered', function () {
$user = User::factory()->create();
$response = $this->actingAs($user)->get(route('password.confirm'));
$response->assertStatus(200);
});