From e5e8686872620fa3883bf37e4711bb9ed04b7ab2 Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Fri, 23 Sep 2022 11:43:29 +0500 Subject: [PATCH] remove debug code --- tests/TenantDatabaseManagerTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/TenantDatabaseManagerTest.php b/tests/TenantDatabaseManagerTest.php index d4e38f13..387316be 100644 --- a/tests/TenantDatabaseManagerTest.php +++ b/tests/TenantDatabaseManagerTest.php @@ -99,8 +99,7 @@ test('the tenant connection is fully removed', function () { Event::listen(TenancyEnded::class, RevertToCentralContext::class); $tenant = Tenant::create(); - - dd(array_keys(app('db')->getConnections())); + expect(array_keys(app('db')->getConnections()))->not()->toContain('tenant'); pest()->assertArrayNotHasKey('tenant', config('database.connections'));