mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 05:24:04 +00:00
Convert newly added tests to Pest
This commit is contained in:
parent
ea0b44522d
commit
9faa217281
2 changed files with 18 additions and 29 deletions
|
|
@ -16,8 +16,7 @@ test('tenants can be resolved using the cached resolver', function () {
|
|||
'domain' => 'acme',
|
||||
]);
|
||||
|
||||
expect($tenant->is(app(DomainTenantResolver::class)->resolve('acme')))->toBeTrue();
|
||||
expect($tenant->is(app(DomainTenantResolver::class)->resolve('acme')))->toBeTrue();
|
||||
expect($tenant->is(app(DomainTenantResolver::class)->resolve('acme')))->toBeTrue()->toBeTrue();
|
||||
});
|
||||
|
||||
test('the underlying resolver is not touched when using the cached resolver', function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue