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

Restructure drivers config

This commit is contained in:
Samuel Štancl 2019-09-30 18:28:13 +02:00
parent 6a9128474f
commit b525747bc6
8 changed files with 18 additions and 23 deletions

View file

@ -114,7 +114,7 @@ class TenantStorageTest extends TestCase
/** @test */
public function tenant_model_uses_correct_connection()
{
config(['tenancy.storage.db.connection' => 'foo']);
config(['tenancy.storage_drivers.db.connection' => 'foo']);
$this->assertSame('foo', (new TenantModel)->getConnectionName());
}
@ -149,7 +149,7 @@ class TenantStorageTest extends TestCase
]);
config(['database.default' => 'sqlite']); // fix issue caused by loadMigrationsFrom
config(['tenancy.storage.db.custom_columns' => [
config(['tenancy.storage_drivers.db.custom_columns' => [
'foo',
]]);