1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 20:14:03 +00:00

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-09-20 14:58:01 +00:00 committed by StyleCI Bot
parent 65b2c6ceee
commit 91fe36af91

View file

@ -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');