1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 19:14:04 +00:00

Fix test exception_is_thrown_when_tenant_cannot_be_identified_by_path

This commit is contained in:
Samuel Štancl 2020-05-09 04:53:33 +02:00
parent aff52458f9
commit a17727b437

View file

@ -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);
}
}