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

User impersonation

This commit is contained in:
Samuel Štancl 2020-05-15 07:30:57 +02:00
parent 52476d6298
commit 10a5b80d44
9 changed files with 432 additions and 2 deletions

View file

@ -28,6 +28,14 @@ class PathIdentificationTest extends TestCase
});
}
public function tearDown(): void
{
parent::tearDown();
// Global state cleanup
PathTenantResolver::$tenantParameterName = 'tenant';
}
/** @test */
public function tenant_can_be_identified_by_path()
{