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

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-08-14 20:17:04 +00:00 committed by StyleCI Bot
parent 4aa35322da
commit 155ef0da5a
2 changed files with 4 additions and 2 deletions

View file

@ -103,6 +103,7 @@ class TenantManagerEventsTest extends TestCase
Tenancy::bootstrapping(function ($tenancy) use ($uuid) {
if ($tenancy->tenant['uuid'] === $uuid) {
$tenancy->database->useConnection('tenantabc');
return ['database'];
}
});
@ -111,4 +112,4 @@ class TenantManagerEventsTest extends TestCase
tenancy()->init('abc.localhost');
$this->assertSame('tenantabc', \DB::connection()->getConfig()['name']);
}
}
}