mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:14:04 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
800e8d5a56
commit
f639909eb7
2 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ abstract class IdentificationMiddleware
|
|||
} else {
|
||||
$this->tenancy->initialize(
|
||||
$this->resolver->resolve(...$resolverArguments)
|
||||
);
|
||||
);
|
||||
}
|
||||
} catch (TenantCouldNotBeIdentifiedException $e) {
|
||||
$onFail = static::$onFail ?? function ($e) {
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ class CachedTenantResolverTest extends TestCase
|
|||
// create cache
|
||||
$this->get('http://acme.localhost/foo')
|
||||
->assertSee('bar');
|
||||
|
||||
|
||||
$this->mock(CachedTenantResolver::class, function ($mock) {
|
||||
return $mock->shouldReceive('resolve')->once(); // only once
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue