From bdbfbd45610dc7df0a462329cf4bfef7777682dc Mon Sep 17 00:00:00 2001 From: lukinovec Date: Mon, 4 May 2026 12:32:25 +0200 Subject: [PATCH] Remove extra variable --- tests/TenantDatabaseManagerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TenantDatabaseManagerTest.php b/tests/TenantDatabaseManagerTest.php index 2ae014f8..0c145503 100644 --- a/tests/TenantDatabaseManagerTest.php +++ b/tests/TenantDatabaseManagerTest.php @@ -656,9 +656,9 @@ test('sqlite database manager respects the configured path while making the data // SQLiteDatabaseManager::$path is null, the database path is built using database_path() expect($tenant->database()->connection()['database'])->toBe(database_path('tenant.sqlite')); - SQLiteDatabaseManager::$path = $customPath = '/custom/path/'; + SQLiteDatabaseManager::$path = '/custom/path/'; - expect($tenant->database()->connection()['database'])->toBe($customPath . 'tenant.sqlite'); + expect($tenant->database()->connection()['database'])->toBe('/custom/path/tenant.sqlite'); }); test('newly created tenant databases use the correct charset and collation with mysql', function () {