public function tearDown() { parent::tearDown(); m::close(); (new \UsersCreateTable())->down(); Facades\Schema::drop('password_reminders'); }
public function setUp() { parent::setUp(); $this->app['router']->enableFilters(); $this->app['router']->get('/auth-test', ['before' => 'auth', function () { return 'OK'; }]); $this->app['router']->get('/guest-test', ['before' => 'guest', function () { return 'OK'; }]); $this->app['router']->get('/access-test', ['before' => 'auth|access:test', function () { return 'OK'; }]); $this->app['router']->get('/more-access-test', ['before' => 'auth|access:test1,test2', function () { return 'OK'; }]); }
public function tearDown() { parent::tearDown(); m::close(); }
/** * {@inheritdoc} */ public function createApplication() { $app = parent::createApplication(); $app->setLocale('no'); return $app; }