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

Refactor assertion

This commit is contained in:
lukinovec 2023-04-17 14:51:52 +02:00
parent 859b2c534a
commit d84878bd45

View file

@ -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');