/** * 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')); }
public function setUp() { parent::setUp(); $this->app['config']['auth.providers.users.model'] = User::class; }
public function setUp() { parent::setUp(); $this->migrationPath = realpath(__DIR__ . '/migrations'); $this->withFactories(__DIR__ . '/../database/factories'); }