mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 15:54:03 +00:00
Refactor assertion
This commit is contained in:
parent
859b2c534a
commit
d84878bd45
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ test('prefixing separates the cache', function () {
|
||||||
$tenant2 = Tenant::create();
|
$tenant2 = Tenant::create();
|
||||||
tenancy()->initialize($tenant2);
|
tenancy()->initialize($tenant2);
|
||||||
|
|
||||||
pest()->assertNotSame('bar', cache()->get('foo'));
|
expect(cache()->get('foo'))->not()->toBe('bar');
|
||||||
|
|
||||||
cache()->put('foo', 'xyz', 1);
|
cache()->put('foo', 'xyz', 1);
|
||||||
expect(cache()->get('foo'))->toBe('xyz');
|
expect(cache()->get('foo'))->toBe('xyz');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue