mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 21:24:02 +00:00
Update PrefixCacheBootstrapperTest.php
This commit is contained in:
parent
e550c7dcdd
commit
3cff2e3ba9
1 changed files with 2 additions and 0 deletions
|
|
@ -86,8 +86,10 @@ test('central cache is not broke', function () {
|
||||||
expect(cache()->get('key'))->toBe('tenant');
|
expect(cache()->get('key'))->toBe('tenant');
|
||||||
|
|
||||||
tenancy()->end();
|
tenancy()->end();
|
||||||
|
cache()->put('key2', 'central-two');
|
||||||
|
|
||||||
expect(cache()->get('key'))->toBe('central');
|
expect(cache()->get('key'))->toBe('central');
|
||||||
|
expect(cache()->get('key2'))->toBe('central-two');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('cache base prefix can be customized', function () {
|
test('cache base prefix can be customized', function () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue