1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-05-06 18:04:03 +00:00

Remove extra variable

This commit is contained in:
lukinovec 2026-05-04 12:32:25 +02:00
parent de913486e0
commit bdbfbd4561

View file

@ -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 () {