mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 14:14:04 +00:00
Test: Remove defaulting to 'default' DB connection
This commit is contained in:
parent
e41a469510
commit
8456280ac4
1 changed files with 0 additions and 4 deletions
|
|
@ -147,9 +147,5 @@ class TenantStorageTest extends TestCase
|
||||||
{
|
{
|
||||||
config(['tenancy.storage.db.connection' => 'foo']);
|
config(['tenancy.storage.db.connection' => 'foo']);
|
||||||
$this->assertSame('foo', (new Tenant)->getConnectionName());
|
$this->assertSame('foo', (new Tenant)->getConnectionName());
|
||||||
|
|
||||||
config(['tenancy.storage.db.connection' => null]);
|
|
||||||
config(['database.default' => 'foobar']);
|
|
||||||
$this->assertSame('foobar', (new Tenant)->getConnectionName());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue