File manager - Edit - /home/bookdonate/htdocs/bookdonate.in/public/tests.tar
Back
Feature/ExampleTest.php 0000777 00000000547 15227040277 0011126 0 ustar 00 <?php namespace Tests\Feature; // 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); } } Unit/ExampleTest.php 0000777 00000000363 15227040277 0010446 0 ustar 00 <?php namespace Tests\Unit; use PHPUnit\Framework\TestCase; class ExampleTest extends TestCase { /** * A basic test example. */ public function test_that_true_is_true(): void { $this->assertTrue(true); } } TestCase.php 0000777 00000000243 15227040277 0007004 0 ustar 00 <?php namespace Tests; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { use CreatesApplication; } CreatesApplication.php 0000777 00000000567 15227112373 0011051 0 ustar 00 <?php namespace Tests; use Illuminate\Contracts\Console\Kernel; use Illuminate\Foundation\Application; trait CreatesApplication { /** * Creates the application. */ public function createApplication(): Application { $app = require __DIR__.'/../bootstrap/app.php'; $app->make(Kernel::class)->bootstrap(); return $app; } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.16 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings