From caa0c87153507abdd02499b965a0e5a7ec8a9f6b Mon Sep 17 00:00:00 2001 From: lukinovec Date: Fri, 6 Jan 2023 07:22:07 +0100 Subject: [PATCH] Improve comment --- tests/PrefixCacheBootstrapperTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PrefixCacheBootstrapperTest.php b/tests/PrefixCacheBootstrapperTest.php index efd019d6..67010dbc 100644 --- a/tests/PrefixCacheBootstrapperTest.php +++ b/tests/PrefixCacheBootstrapperTest.php @@ -181,7 +181,7 @@ 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']); config(['cache.stores.redis2' => config('cache.stores.redis')]); - $cacheStore = 'redis2'; // Non-default, central cache store name that we'll use using cache()->store($cacheStore) + $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) $this->app->singleton(SpecificCacheStoreService::class, function() use ($cacheStore) {