mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 12:54:05 +00:00
Update ManualModeTest.php
This commit is contained in:
parent
fd012a13b0
commit
fdb6e12fdd
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ test('manual tenancy initialization works', function () {
|
|||
|
||||
$tenant = Tenant::create();
|
||||
|
||||
expect(app('db')->getDefaultConnection())->toBe('central');
|
||||
expect(array_keys(app('db')->getConnections()))->toBe(['central', 'tenant_host_connection']);
|
||||
pest()->assertArrayNotHasKey('tenant', config('database.connections'));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue