$expectedInvalidatedTags =
[ $name,
CachedDomainLoader::CACHE_KEY,
'translation.catalog.' .
$salesChannelId,
];
$this->cachedResolvedConfigLoaderInvalidator->
assigned($event);
static::
assertEquals( $expectedInvalidatedTags,
$this->cacheInvalidator->
getInvalidatedTags() );
} public function testInvalidate(): void
{ $themeId = Uuid::
randomHex();
$event =
new ThemeConfigChangedEvent($themeId,
['test' => 'test'
]);
$expectedInvalidatedTags =
[ 'theme-config-' .
$themeId,
'theme.test',
];