TestCase.php 381 B

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