wip
This commit is contained in:
1 parent
b74c374586
commit
1a46e5d887
6 files changed
+60
-18
No files matched your search
@@ -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);
|
||||
});
|
||||
Reference in new issue
Block a user