1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 16:34:04 +00:00

Merge branch 'cached-lookup' of github.com:stancl/tenancy into cached-lookup

This commit is contained in:
Samuel Štancl 2020-03-14 19:11:00 +01:00
commit f2b057fd24

View file

@ -78,7 +78,7 @@ class CachedResolverTest extends TestCase
$tenant = Tenant::new()
->withDomains(['foo.localhost', 'bar.localhost'])
->save();
// queried
$this->assertSame($tenant->id, tenancy()->findByDomain('foo.localhost')->id);
$this->assertSame($tenant->id, tenancy()->findByDomain('bar.localhost')->id);