authserver/testCAS/tests/TestCase.php
changeset 0 1afc9d2ab94d
equal deleted inserted replaced
-1:000000000000 0:1afc9d2ab94d
       
     1 <?php
       
     2 
       
     3 class TestCase extends Illuminate\Foundation\Testing\TestCase
       
     4 {
       
     5     /**
       
     6      * Creates the application.
       
     7      *
       
     8      * @return \Illuminate\Foundation\Application
       
     9      */
       
    10     public function createApplication()
       
    11     {
       
    12         $app = require __DIR__.'/../bootstrap/app.php';
       
    13 
       
    14         $app->make('Illuminate\Contracts\Console\Kernel')->bootstrap();
       
    15 
       
    16         return $app;
       
    17     }
       
    18 }