mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 22:14:03 +00:00
Delete redundant config put calls
This commit is contained in:
parent
f7c8f226c3
commit
4b862e2bd6
1 changed files with 0 additions and 2 deletions
|
|
@ -196,7 +196,6 @@ test('cache is prefixed correctly when using a repository injected in a singleto
|
|||
});
|
||||
|
||||
test('specific central cache store can be used inside a service', function () {
|
||||
config(['cache.default' => 'redis']);
|
||||
$cacheStore = 'redis2'; // Name of the non-default, central cache store that we'll use using cache()->store($cacheStore)
|
||||
|
||||
// Service uses the 'redis2' store which is central/not prefixed (not present in PrefixCacheTenancyBootstrapper::$tenantCacheStores)
|
||||
|
|
@ -322,7 +321,6 @@ test('non default stores get prefixed too when specified in tenantCacheStores',
|
|||
});
|
||||
|
||||
test('cache store prefix generation can be customized', function() {
|
||||
config(['cache.default' => 'redis']);
|
||||
PrefixCacheTenancyBootstrapper::$tenantCacheStores = ['redis', 'redis2'];
|
||||
|
||||
// Use custom prefix generator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue