1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 13:14:05 +00:00

prefix random DB name with custom_

This commit is contained in:
Samuel Štancl 2022-09-24 03:59:42 +02:00 committed by GitHub
parent debde0a103
commit 8ff1e45fd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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