public function setUp() { parent::setUp(); Factory::setFixtures(__DIR__ . '/../../../support'); // needed for models that pre-populate values from other tables /* $artisan = $this->app->make('artisan'); $artisan->call('migrate', [ '--database' => 'testbench', '--path' => 'src/migrations', '-vv' => true, '--pretend' => true, ]); */ // var_dump(realpath(__DIR__.'/../../../../src/migrations'));exit; }
public function setUp() { parent::setUp(); Factory::setFixtures(__DIR__ . '/../../../support'); }