libra/tests/Feature/Auth/PasswordConfirmationTest.php

12 lines
242 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);
});