/**
  * Define environment setup.
  *
  * @param  \Illuminate\Foundation\Application  $app
  * @return void
  */
 protected function getEnvironmentSetUp($app)
 {
     // Setup default database to use sqlite :memory:
     $app['config']->set('database.default', 'testbench');
     $app['config']->set('database.connections.testbench', ['driver' => 'sqlite', 'database' => ':memory:', 'prefix' => '']);
     if (!class_exists('MetaMigration')) {
         static::makeMigration();
     } else {
         static::migrate();
     }
     parent::getEnvironmentSetUp($app);
 }
 /**
  * Define environment setup.
  *
  * @param  \Illuminate\Foundation\Application  $app
  * @return void
  */
 protected function getEnvironmentSetUp($app)
 {
     // Setup default database to use sqlite :memory:
     $app['config']->set('database.default', 'testbench');
     $app['config']->set('database.connections.testbench', ['driver' => 'sqlite', 'database' => ':memory:', 'prefix' => '']);
     // Bind the stub tracker
     $app->bind(StubTracker::class, function ($app) {
         return new StubTracker($app, $app['events'], $app['config']);
     });
     $app[StubTracker::class]->registerRoute($app['router']);
     parent::getEnvironmentSetUp($app);
 }
 public function getEnvironmentSetUp($app)
 {
     parent::getEnvironmentSetUp($app);
 }
 protected function getEnvironmentSetUp($app)
 {
     parent::getEnvironmentSetUp($app);
     $app['config']->set('database.default', 'test');
     $app['config']->set('database.connections.test', ['driver' => 'sqlite', 'database' => ':memory:', 'prefix' => '']);
 }