1
0
Fork 0
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:
Abrar Ahmad 2022-11-28 12:50:14 +05:00
parent 41a6f5b074
commit eef58bd93d

View file

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