mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 18:04:03 +00:00
Fix test exception_is_thrown_when_tenant_cannot_be_identified_by_path
This commit is contained in:
parent
aff52458f9
commit
a17727b437
1 changed files with 4 additions and 1 deletions
|
|
@ -69,9 +69,12 @@ class PathIdentificationTest extends TestCase
|
|||
/** @test */
|
||||
public function exception_is_thrown_when_tenant_cannot_be_identified_by_path()
|
||||
{
|
||||
// todo the exception assertion doesn't work
|
||||
$this->expectException(TenantCouldNotBeIdentifiedByPathException::class);
|
||||
|
||||
$this
|
||||
->withoutExceptionHandling()
|
||||
->get('/acme/foo/abc/xyz');
|
||||
|
||||
$this->assertFalse(tenancy()->initialized);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue