This commit is contained in:
salam committed 2026-09-23 16:33:26 +02:00
1 parent b74c374586
commit 1a46e5d887
6 files changed
+60 -18

No files matched your search

+9 -2
View File
@@ -1,7 +1,14 @@
<?php
test('the application returns a successful response', function () {
$response = $this->get('/');
use App\Models\User;
use Tests\TestCase;
/** @var TestCase $this */
it('the application returns a successful response', function () {
// Create a temporary user and log them in
$user = User::factory()->create();
$response = $this->actingAs($user)->get('/');
$response->assertStatus(200);
});