mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 21:54:03 +00:00
test names grammar
This commit is contained in:
parent
41a6f5b074
commit
eef58bd93d
1 changed files with 2 additions and 2 deletions
|
|
@ -75,7 +75,7 @@ test('prefix separate cache well enough', function () {
|
||||||
expect(cache()->get('foo'))->toBe('xyz');
|
expect(cache()->get('foo'))->toBe('xyz');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('central cache is not broke', function () {
|
test('central cache is persisted', function () {
|
||||||
cache()->put('key', 'central');
|
cache()->put('key', 'central');
|
||||||
|
|
||||||
$tenant1 = Tenant::create();
|
$tenant1 = Tenant::create();
|
||||||
|
|
@ -92,7 +92,7 @@ test('central cache is not broke', function () {
|
||||||
expect(cache()->get('key2'))->toBe('central-two');
|
expect(cache()->get('key2'))->toBe('central-two');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('cache base prefix can be customized', function () {
|
test('cache base prefix is customizable', function () {
|
||||||
config([
|
config([
|
||||||
'tenancy.cache.prefix_base' => 'custom_'
|
'tenancy.cache.prefix_base' => 'custom_'
|
||||||
]);
|
]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue