1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 03:54:04 +00:00

change migration path

This commit is contained in:
Samuel Štancl 2019-08-10 14:31:05 +02:00
parent 6d5a536c68
commit 6c3f86a611
2 changed files with 5 additions and 3 deletions

View file

@ -25,7 +25,7 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
// $this->loadLaravelMigrations();
$this->loadMigrationsFrom(__DIR__ . '/../src/assets/migrations');
$this->loadMigrationsFrom(realpath(__DIR__ . '/../src/assets/migrations'));
// Artisan::call('migrate:fresh', [
// '--path' => __DIR__ . '/../src/assets/migrations'
@ -108,7 +108,9 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
protected function getPackageProviders($app)
{
return [\Stancl\Tenancy\TenancyServiceProvider::class];
return [
\Stancl\Tenancy\TenancyServiceProvider::class,
];
}
protected function getPackageAliases($app)