1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-06-20 22:54:05 +00:00

Add datasets to globalCache/invalidation tests as regression

This commit is contained in:
lukinovec 2026-06-01 13:36:18 +02:00
parent 23b18c93a0
commit 0cf7043b73
2 changed files with 2 additions and 0 deletions

View file

@ -165,6 +165,7 @@ test('cache is invalidated when tenant is updated from within the tenant context
['redis', [CacheTenancyBootstrapper::class]], ['redis', [CacheTenancyBootstrapper::class]],
['redis', [CacheTagsBootstrapper::class]], ['redis', [CacheTagsBootstrapper::class]],
['database', [DatabaseTenancyBootstrapper::class, DatabaseCacheBootstrapper::class]], ['database', [DatabaseTenancyBootstrapper::class, DatabaseCacheBootstrapper::class]],
['database', [DatabaseTenancyBootstrapper::class, CacheTenancyBootstrapper::class]],
]); ]);
test('cache is invalidated when the tenant is deleted', function (string $resolver, bool $configureTenantModelColumn) { test('cache is invalidated when the tenant is deleted', function (string $resolver, bool $configureTenantModelColumn) {

View file

@ -165,6 +165,7 @@ test('global cache is always central', function (string $store, array $bootstrap
['redis', [CacheTagsBootstrapper::class]], ['redis', [CacheTagsBootstrapper::class]],
['redis', [CacheTenancyBootstrapper::class]], ['redis', [CacheTenancyBootstrapper::class]],
['database', [DatabaseTenancyBootstrapper::class, DatabaseCacheBootstrapper::class]], ['database', [DatabaseTenancyBootstrapper::class, DatabaseCacheBootstrapper::class]],
['database', [DatabaseTenancyBootstrapper::class, CacheTenancyBootstrapper::class]],
])->with([ ])->with([
'helper', 'helper',
'facade', 'facade',