Exemplo n.º 1
0
 /**
  * Setup the test environment.
  */
 public function setUp()
 {
     parent::setUp();
     $this->artisan('migrate', ['--realpath' => realpath(__DIR__ . '/database/migrations')]);
     $this->artisan('migrate', ['--realpath' => realpath(__DIR__ . '/../src/database/migrations')]);
     $this->withFactories(realpath(__DIR__ . '/database/factories'));
 }
Exemplo n.º 2
0
 public function setUp()
 {
     parent::setUp();
     $this->app['config']['auth.providers.users.model'] = User::class;
 }
Exemplo n.º 3
0
 public function setUp()
 {
     parent::setUp();
     $this->migrationPath = realpath(__DIR__ . '/migrations');
     $this->withFactories(__DIR__ . '/../database/factories');
 }