菜谱项目

ExampleTest.php 452B

123456789101112131415161718192021222324
  1. <?php
  2. namespace Tests\Feature;
  3. use Tests\TestCase;
  4. use Illuminate\Foundation\Testing\WithoutMiddleware;
  5. use Illuminate\Foundation\Testing\DatabaseMigrations;
  6. use Illuminate\Foundation\Testing\DatabaseTransactions;
  7. class ExampleTest extends TestCase
  8. {
  9. /**
  10. * A basic test example.
  11. *
  12. * @return void
  13. */
  14. public function testBasicTest()
  15. {
  16. $response = $this->get('/');
  17. $response->assertStatus(200);
  18. }
  19. }