mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:14:04 +00:00
fix test
This commit is contained in:
parent
0fa37ed305
commit
4ad8ceb681
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ test('tenant user can be impersonated on a tenant domain', function () {
|
||||||
->assertSee('You are logged in as Joe');
|
->assertSee('You are logged in as Joe');
|
||||||
|
|
||||||
expect(UserImpersonation::isImpersonating())->toBeTrue();
|
expect(UserImpersonation::isImpersonating())->toBeTrue();
|
||||||
expect(session('tenancy_impersonation'))->toBeTrue();
|
expect(session('tenancy_impersonating'))->toBeTrue();
|
||||||
|
|
||||||
// Leave impersonation
|
// Leave impersonation
|
||||||
UserImpersonation::leave();
|
UserImpersonation::leave();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue