mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:54:05 +00:00
[2.x] Restructure drivers config (#151)
* Restructure drivers config * Apply fixes from StyleCI
This commit is contained in:
parent
6cb7f27e6c
commit
c965ca5c93
8 changed files with 18 additions and 25 deletions
|
|
@ -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',
|
||||
]]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue