1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 19:14:04 +00:00

Improve test name

This commit is contained in:
lukinovec 2023-04-17 17:05:03 +02:00
parent b4f4fd1d94
commit 2309b83327

View file

@ -299,7 +299,7 @@ test('only the stores specified in tenantCacheStores get prefixed', function() {
expect(cache('key'))->toBe($centralValue);
});
test('non default stores get prefixed too', function () {
test('non default stores get prefixed too when specified in tenantCacheStores', function () {
$generatePrefixForTenant = function (Tenant $tenant) {
return app(PrefixCacheTenancyBootstrapper::class)->generatePrefix($tenant);
};