mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 23:54:03 +00:00
tests: remove pointless cache TTLs
This commit is contained in:
parent
4129b2d956
commit
54a2d8a693
2 changed files with 8 additions and 8 deletions
|
|
@ -46,7 +46,7 @@ test('global cache manager stores data in global cache', function (string $store
|
|||
expect(GlobalCache::get('foo'))->toBe('bar');
|
||||
|
||||
GlobalCache::put('abc', 'xyz');
|
||||
cache(['def' => 'ghi'], 10);
|
||||
cache(['def' => 'ghi']);
|
||||
expect(cache('def'))->toBe('ghi');
|
||||
|
||||
// different stores
|
||||
|
|
@ -70,7 +70,7 @@ test('global cache manager stores data in global cache', function (string $store
|
|||
expect(GlobalCache::get('abc'))->toBe('xyz');
|
||||
expect(GlobalCache::get('foo'))->toBe('bar');
|
||||
expect(cache('def'))->toBe(null);
|
||||
cache(['def' => 'xxx'], 1);
|
||||
cache(['def' => 'xxx']);
|
||||
expect(cache('def'))->toBe('xxx');
|
||||
|
||||
tenancy()->initialize($tenant1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue