Install Pest

This commit is contained in:
2024-10-21 14:51:30 +05:00
parent 1356c5ac31
commit a553c9082a
5 changed files with 996 additions and 32 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);
});