mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:44:02 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
65b2c6ceee
commit
91fe36af91
1 changed files with 2 additions and 2 deletions
|
|
@ -84,9 +84,9 @@ class TenancyBootstrappersTest extends TestCase
|
||||||
$original = config('database.default');
|
$original = config('database.default');
|
||||||
tenancy()->create(['foo.localhost']);
|
tenancy()->create(['foo.localhost']);
|
||||||
tenancy()->init('foo.localhost');
|
tenancy()->init('foo.localhost');
|
||||||
|
|
||||||
$this->assertSame(null, config("database.connections.$original.foo"));
|
$this->assertSame(null, config("database.connections.$original.foo"));
|
||||||
|
|
||||||
config(["database.connections.$original.foo" => 'bar']);
|
config(["database.connections.$original.foo" => 'bar']);
|
||||||
tenancy()->create(['bar.localhost']);
|
tenancy()->create(['bar.localhost']);
|
||||||
tenancy()->init('bar.localhost');
|
tenancy()->init('bar.localhost');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue