Install Pest

This commit is contained in:
Bob Molitor committed 2025-10-16 14:22:58 +02:00
1 parent 81a98dd9f4
commit e8db0d9a5a
16 files changed
+1618 -805

No files matched your search

@@ -1,21 +1,11 @@
<?php
namespace Tests\Feature\Auth;
use App\Models\User;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class PasswordConfirmationTest extends TestCase
{
use RefreshDatabase;
test('confirm password screen can be rendered', function () {
$user = User::factory()->create();
public function test_confirm_password_screen_can_be_rendered(): void
{
$user = User::factory()->create();
$response = $this->actingAs($user)->get(route('password.confirm'));
$response = $this->actingAs($user)->get(route('password.confirm'));
$response->assertStatus(200);
}
}
$response->assertStatus(200);
});