From fdb6e12fddcb626a7502b3bd4b4b0c0829db960f Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Thu, 24 Nov 2022 12:20:19 +0500 Subject: [PATCH] Update ManualModeTest.php --- tests/ManualModeTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/ManualModeTest.php b/tests/ManualModeTest.php index 0eecfac6..17a8dfe8 100644 --- a/tests/ManualModeTest.php +++ b/tests/ManualModeTest.php @@ -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'));