From 8456280ac4930f7db9be29eb0fe4cf663faa167f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sun, 18 Aug 2019 23:30:40 +0200 Subject: [PATCH] Test: Remove defaulting to 'default' DB connection --- tests/TenantStorageTest.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/TenantStorageTest.php b/tests/TenantStorageTest.php index da32f228..523f6bf8 100644 --- a/tests/TenantStorageTest.php +++ b/tests/TenantStorageTest.php @@ -147,9 +147,5 @@ class TenantStorageTest extends TestCase { config(['tenancy.storage.db.connection' => 'foo']); $this->assertSame('foo', (new Tenant)->getConnectionName()); - - config(['tenancy.storage.db.connection' => null]); - config(['database.default' => 'foobar']); - $this->assertSame('foobar', (new Tenant)->getConnectionName()); } }