Install Pest
This commit is contained in:
1 parent
81a98dd9f4
commit
e8db0d9a5a
16 files changed
+1618
-805
No files matched your search
@@ -1,18 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature;
|
||||
test('returns a successful response', function () {
|
||||
$response = $this->get(route('home'));
|
||||
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Tests\TestCase;
|
||||
|
||||
class ExampleTest extends TestCase
|
||||
{
|
||||
use RefreshDatabase;
|
||||
|
||||
public function test_returns_a_successful_response(): void
|
||||
{
|
||||
$response = $this->get(route('home'));
|
||||
|
||||
$response->assertStatus(200);
|
||||
}
|
||||
}
|
||||
$response->assertStatus(200);
|
||||
});
|
||||
Reference in new issue
Block a user