mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 23:14:05 +00:00
tests: allow multiple paths for tenant migrations
This commit is contained in:
parent
79431e31c1
commit
36cc49a344
2 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ class CommandsTest extends TestCase
|
|||
{
|
||||
parent::setUp();
|
||||
|
||||
config(['tenancy.migrations_directory' => database_path('../migrations')]);
|
||||
config('tenancy.migrations_paths', [database_path('migrations/tenant')]);
|
||||
}
|
||||
|
||||
/** @test */
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
|
|||
'tenancy.redis.tenancy' => env('TENANCY_TEST_REDIS_TENANCY', true),
|
||||
'database.redis.client' => env('TENANCY_TEST_REDIS_CLIENT', 'phpredis'),
|
||||
'tenancy.redis.prefixed_connections' => ['default'],
|
||||
'tenancy.migrations_directory' => database_path('../migrations'),
|
||||
'tenancy.migrations_paths' => [database_path('../migrations')],
|
||||
'tenancy.storage_drivers.db.connection' => 'central',
|
||||
'tenancy.bootstrappers.redis' => \Stancl\Tenancy\TenancyBootstrappers\RedisTenancyBootstrapper::class,
|
||||
'queue.connections.central' => [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue