mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 10:34:04 +00:00
change migration path
This commit is contained in:
parent
6d5a536c68
commit
6c3f86a611
2 changed files with 5 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue