TestCase.php 341 B

12345678910111213141516171819
  1. <?php
  2. class TestCase extends Illuminate\Foundation\Testing\TestCase {
  3. /**
  4. * Creates the application.
  5. *
  6. * @return \Illuminate\Foundation\Application
  7. */
  8. public function createApplication()
  9. {
  10. $app = require __DIR__.'/../bootstrap/app.php';
  11. $app->make('Illuminate\Contracts\Console\Kernel')->bootstrap();
  12. return $app;
  13. }
  14. }