Example #1
0
 public function createApplication()
 {
     $app = parent::createApplication();
     // set to sqlite simply because that's the only sql pdo driver I have
     // installed on my dev laptop :)
     $app['db']->setDefaultConnection('sqlite');
     $app['config']->set('database.connections.sqlite.database', ':memory:');
     $app['config']->set('auth.driver', 'eloquent-exceptions');
     $app['config']->set('auth.model', 'anlutro\\Core\\Auth\\Users\\UserModel');
     return $app;
 }