From 0a4dc599121851d30de5ae39322d431a4f4d5542 Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Wed, 26 Oct 2022 12:44:47 +0500 Subject: [PATCH] fix test --- tests/TenantDatabaseManagerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TenantDatabaseManagerTest.php b/tests/TenantDatabaseManagerTest.php index a8fa668a..19b74e21 100644 --- a/tests/TenantDatabaseManagerTest.php +++ b/tests/TenantDatabaseManagerTest.php @@ -112,12 +112,12 @@ test('the tenant connection is fully removed', function () { createUsersTable(); - expect(array_keys(app('db')->getConnections()))->toBe(['central', 'tenant_host_connection', 'tenant']); + expect(array_keys(app('db')->getConnections()))->toBe(['central', 'tenant']); pest()->assertArrayHasKey('tenant', config('database.connections')); tenancy()->end(); - expect(array_keys(app('db')->getConnections()))->toBe(['central', 'tenant_host_connection']); + expect(array_keys(app('db')->getConnections()))->toBe(['central']); expect(config('database.connections.tenant'))->toBeNull(); });