Install Pest

This commit is contained in:
fsociety
2024-08-29 13:36:57 +02:00
parent 0769adfba3
commit b38f3f8bed
5 changed files with 1149 additions and 266 deletions

View File

@@ -1,19 +1,7 @@
<?php
namespace Tests\Feature;
it('returns a successful response', function () {
$response = $this->get('/');
// use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*/
public function test_the_application_returns_a_successful_response(): void
{
$response = $this->get('/');
$response->assertStatus(200);
}
}
$response->assertStatus(200);
});