mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 07:54:03 +00:00
Merge branch 'cached-lookup' of github.com:stancl/tenancy into cached-lookup
This commit is contained in:
commit
f2b057fd24
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ class CachedResolverTest extends TestCase
|
||||||
$tenant = Tenant::new()
|
$tenant = Tenant::new()
|
||||||
->withDomains(['foo.localhost', 'bar.localhost'])
|
->withDomains(['foo.localhost', 'bar.localhost'])
|
||||||
->save();
|
->save();
|
||||||
|
|
||||||
// queried
|
// queried
|
||||||
$this->assertSame($tenant->id, tenancy()->findByDomain('foo.localhost')->id);
|
$this->assertSame($tenant->id, tenancy()->findByDomain('foo.localhost')->id);
|
||||||
$this->assertSame($tenant->id, tenancy()->findByDomain('bar.localhost')->id);
|
$this->assertSame($tenant->id, tenancy()->findByDomain('bar.localhost')->id);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue