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')); } }