File manager - Edit - /home/autoph/public_html/projects/Rating-AutoHub/public/css/tests.tar
Back
Unit/ExampleTest.php 0000644 00000000410 15024771233 0010426 0 ustar 00 <?php namespace Tests\Unit; use PHPUnit\Framework\TestCase; class ExampleTest extends TestCase { /** * A basic test example. * * @return void */ public function test_that_true_is_true() { $this->assertTrue(true); } } TestCase.php 0000644 00000000243 15024771233 0006773 0 ustar 00 <?php namespace Tests; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { use CreatesApplication; } CreatesApplication.php 0000644 00000000574 15024771233 0011041 0 ustar 00 <?php namespace Tests; use Illuminate\Contracts\Console\Kernel; trait CreatesApplication { /** * Creates the application. * * @return \Illuminate\Foundation\Application */ public function createApplication() { $app = require __DIR__.'/../bootstrap/app.php'; $app->make(Kernel::class)->bootstrap(); return $app; } } Feature/ExampleTest.php 0000644 00000000574 15024771233 0011115 0 ustar 00 <?php namespace Tests\Feature; // use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; class ExampleTest extends TestCase { /** * A basic test example. * * @return void */ public function test_the_application_returns_a_successful_response() { $response = $this->get('/'); $response->assertStatus(200); } }
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0 |
proxy
|
phpinfo
|
Settings