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:
parent
de913486e0
commit
bdbfbd4561
1 changed files with 2 additions and 2 deletions
|
|
@ -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 () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue