server/src/tests/TestCase.php
changeset 1 01a844d292ac
child 2 00e2916104fe
equal deleted inserted replaced
0:279124b91971 1:01a844d292ac
       
     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 
       
    19 }