changeset 0 | 1afc9d2ab94d |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/authserver/testCAS/tests/TestCase.php Wed Apr 01 15:31:12 2015 +0200 @@ -0,0 +1,18 @@ +<?php + +class TestCase extends Illuminate\Foundation\Testing\TestCase +{ + /** + * Creates the application. + * + * @return \Illuminate\Foundation\Application + */ + public function createApplication() + { + $app = require __DIR__.'/../bootstrap/app.php'; + + $app->make('Illuminate\Contracts\Console\Kernel')->bootstrap(); + + return $app; + } +}