From 859b2c534a57a53541ff0d6d3569affd826b7e7d Mon Sep 17 00:00:00 2001 From: lukinovec Date: Mon, 17 Apr 2023 14:49:23 +0200 Subject: [PATCH] Add assertion --- tests/PrefixCacheBootstrapperTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/PrefixCacheBootstrapperTest.php b/tests/PrefixCacheBootstrapperTest.php index 3de493ab..a12622d8 100644 --- a/tests/PrefixCacheBootstrapperTest.php +++ b/tests/PrefixCacheBootstrapperTest.php @@ -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);