mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 07:54:03 +00:00
Override cache manager only in CacheTagsBootstrapper
This commit is contained in:
parent
1d52096d6e
commit
2171ca9c68
7 changed files with 45 additions and 58 deletions
|
|
@ -41,7 +41,6 @@ use Stancl\Tenancy\CacheManager;
|
|||
|
||||
beforeEach(function () {
|
||||
$this->mockConsoleOutput = false;
|
||||
CacheManager::$addTags = false;
|
||||
config(['cache.default' => $cacheDriver = 'redis']);
|
||||
PrefixCacheTenancyBootstrapper::$tenantCacheStores = [$cacheDriver];
|
||||
|
||||
|
|
@ -57,7 +56,6 @@ beforeEach(function () {
|
|||
});
|
||||
|
||||
afterEach(function () {
|
||||
CacheManager::$addTags = false;
|
||||
PrefixCacheTenancyBootstrapper::$tenantCacheStores = [];
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue