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

Add assertion

This commit is contained in:
lukinovec 2023-04-17 14:49:23 +02:00
parent 52d9643535
commit 859b2c534a

View file

@ -105,6 +105,7 @@ test('cache is persisted when reidentification is used', function () {
expect(cache('foo'))->toBe('bar');
tenancy()->initialize($tenant2);
expect(cache('foo'))->not()->toBe('bar');
tenancy()->end();
tenancy()->initialize($tenant1);