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

Update ManualModeTest.php

This commit is contained in:
Abrar Ahmad 2022-11-24 12:20:19 +05:00
parent fd012a13b0
commit fdb6e12fdd

View file

@ -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'));