mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 19:14:04 +00:00
Add assertion
This commit is contained in:
parent
52d9643535
commit
859b2c534a
1 changed files with 1 additions and 0 deletions
|
|
@ -105,6 +105,7 @@ test('cache is persisted when reidentification is used', function () {
|
||||||
expect(cache('foo'))->toBe('bar');
|
expect(cache('foo'))->toBe('bar');
|
||||||
|
|
||||||
tenancy()->initialize($tenant2);
|
tenancy()->initialize($tenant2);
|
||||||
|
expect(cache('foo'))->not()->toBe('bar');
|
||||||
tenancy()->end();
|
tenancy()->end();
|
||||||
|
|
||||||
tenancy()->initialize($tenant1);
|
tenancy()->initialize($tenant1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue