移除 测试

This commit is contained in:
iVampireSP.com 2022-10-03 12:02:24 +08:00
parent 02731ddd39
commit 61544bdec4
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132
2 changed files with 0 additions and 41 deletions

View File

@ -1,23 +0,0 @@
<?php
namespace Tests;
use Laravel\Lumen\Testing\DatabaseMigrations;
use Laravel\Lumen\Testing\DatabaseTransactions;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function test_that_base_endpoint_returns_a_successful_response()
{
$this->get('/');
$this->assertEquals(
$this->app->version(), $this->response->getContent()
);
}
}

View File

@ -1,18 +0,0 @@
<?php
namespace Tests;
use Laravel\Lumen\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
/**
* Creates the application.
*
* @return \Laravel\Lumen\Application
*/
public function createApplication()
{
return require __DIR__.'/../bootstrap/app.php';
}
}