From 8ff1e45fd0bc4cab6dda03129192cbfd32811e83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sat, 24 Sep 2022 03:59:42 +0200 Subject: [PATCH] prefix random DB name with custom_ --- tests/TenantDatabaseManagerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TenantDatabaseManagerTest.php b/tests/TenantDatabaseManagerTest.php index 44b5fc8c..d6a5b369 100644 --- a/tests/TenantDatabaseManagerTest.php +++ b/tests/TenantDatabaseManagerTest.php @@ -230,7 +230,7 @@ test('path used by sqlite manager can be customized', function () { })->toListener()); // Set custom path for SQLite file - SQLiteDatabaseManager::$path = $customPath = database_path(Str::random(8)); + SQLiteDatabaseManager::$path = $customPath = database_path('custom_' . Str::random(8)); if (! is_dir($customPath)) { // Create custom directory