From 4b862e2bd69e8b843808448a15256da34f7242ad Mon Sep 17 00:00:00 2001 From: lukinovec Date: Tue, 18 Apr 2023 14:27:57 +0200 Subject: [PATCH] Delete redundant config put calls --- tests/PrefixCacheBootstrapperTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/PrefixCacheBootstrapperTest.php b/tests/PrefixCacheBootstrapperTest.php index b94caa1a..ed420fd1 100644 --- a/tests/PrefixCacheBootstrapperTest.php +++ b/tests/PrefixCacheBootstrapperTest.php @@ -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