1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 09:34:04 +00:00

Facade tests

This commit is contained in:
Samuel Štancl 2019-09-19 20:41:00 +02:00
parent c9903cd43c
commit f0dd99f099
5 changed files with 20 additions and 7 deletions

View file

@ -24,7 +24,7 @@ class TenantDatabaseManagerTest extends TestCase
$this->markTestSkipped('As to not bloat your computer with test databases, this test is not run by default.');
}
config()->set('database.default', $driver); // todo the DB creator would not work for MySQL when sqlite is used for the central DB
config()->set('database.default', $driver); // todo2 the DB creator would not work for MySQL when sqlite is used for the central DB
$name = 'db' . $this->randomString();
$this->assertFalse(app($databaseManager)->databaseExists($name));