mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:14:04 +00:00
Merge branch '2.x' of github.com:stancl/tenancy into 2.x
This commit is contained in:
commit
f177e309f0
1 changed files with 2 additions and 2 deletions
|
|
@ -84,9 +84,9 @@ class TenancyBootstrappersTest extends TestCase
|
|||
$original = config('database.default');
|
||||
tenancy()->create(['foo.localhost']);
|
||||
tenancy()->init('foo.localhost');
|
||||
|
||||
|
||||
$this->assertSame(null, config("database.connections.$original.foo"));
|
||||
|
||||
|
||||
config(["database.connections.$original.foo" => 'bar']);
|
||||
tenancy()->create(['bar.localhost']);
|
||||
tenancy()->init('bar.localhost');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue