File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ResolverCache Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -372,19 +372,11 @@ public function testThatThereAreNoOrphanedCacheIdsInTagFileAfterInvalidation()
372
372
$ this ->assertNotContains (
373
373
$ cacheIdPrefix . $ cacheKey ,
374
374
$ cacheBackend ->getIdsMatchingTags ([
375
- $ cacheIdPrefix . 'GQL_MEDIA_GALLERY '
376
- ]),
377
- 'Cache id is still present in GQL_MEDIA_GALLERY tag file after invalidation '
378
- );
379
-
380
- $ this ->assertNotContains (
381
- $ cacheIdPrefix . $ cacheKey ,
382
- $ cacheBackend ->getIdsMatchingTags ([
383
- $ cacheIdPrefix . 'GQL_MEDIA_GALLERY_ ' . $ product ->getId (),
375
+ $ cacheIdPrefix . 'GQL_MEDIA_GALLERY_ ' . strtoupper ($ product ->getSku ()),
384
376
]),
385
377
sprintf (
386
378
'Cache id is still present in GQL_MEDIA_GALLERY_%s tag file after invalidation ' ,
387
- $ product ->getId ( )
379
+ strtoupper ( $ product ->getSku () )
388
380
)
389
381
);
390
382
}
You can’t perform that action at this time.
0 commit comments