From d84878bd45fc4a3700aedb970d21ed27a99fb355 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Mon, 17 Apr 2023 14:51:52 +0200 Subject: [PATCH] Refactor assertion --- tests/PrefixCacheBootstrapperTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PrefixCacheBootstrapperTest.php b/tests/PrefixCacheBootstrapperTest.php index a12622d8..7c7aa150 100644 --- a/tests/PrefixCacheBootstrapperTest.php +++ b/tests/PrefixCacheBootstrapperTest.php @@ -122,7 +122,7 @@ test('prefixing separates the cache', function () { $tenant2 = Tenant::create(); tenancy()->initialize($tenant2); - pest()->assertNotSame('bar', cache()->get('foo')); + expect(cache()->get('foo'))->not()->toBe('bar'); cache()->put('foo', 'xyz', 1); expect(cache()->get('foo'))->toBe('xyz');