Install Pest

This commit is contained in:
ct
2025-08-10 16:28:54 +08:00
parent 02628a7adc
commit 480bd9055d
5 changed files with 1008 additions and 50 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);
});