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

Toggle cache tags

This commit is contained in:
lukinovec 2022-12-13 05:25:57 +01:00
parent 5c6226befc
commit 87efdd2954
5 changed files with 17 additions and 5 deletions

View file

@ -20,6 +20,8 @@ beforeEach(function () {
'cache.default' => 'redis',
]);
TenancyCacheManager::$addTags = false;
Event::listen(TenancyInitialized::class, BootstrapTenancy::class);
Event::listen(TenancyEnded::class, RevertToCentralContext::class);
});