From 6cee5d36ade8af3e35e51ed9e213056e8df96336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sat, 17 Aug 2019 21:57:13 +0200 Subject: [PATCH] wip --- tests/DatabaseManagerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/DatabaseManagerTest.php b/tests/DatabaseManagerTest.php index 9fca4b4e..ec8b8df2 100644 --- a/tests/DatabaseManagerTest.php +++ b/tests/DatabaseManagerTest.php @@ -23,10 +23,10 @@ class DatabaseManagerTest extends TestCase /** @test */ public function db_name_is_prefixed_with_db_path_when_sqlite_is_used() { + // make `tenant` not sqlite so that it has to detect sqlite from fooconn config(['database.connections.tenant.driver' => 'mysql']); app(DatabaseManager::class)->createTenantConnection('foodb', 'fooconn'); - // make tenant not sqlite so that it has to detect sqlite from fooconn $this->assertSame(config('database.connections.fooconn.database'), database_path('foodb')); } }