Skip to content

Commit c018ba3

Browse files
committed
GraphQl-599: CMS Blocks (Integration Test for Tag Cache Generation)
1 parent 457fc5a commit c018ba3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dev/tests/integration/testsuite/Magento/GraphQlCache/Controller/Cms/BlockCacheTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ public function testCmsBlocksRequestHasCorrectTags(): void
7777
$expectedCacheTags = ['cms_b', 'cms_b_' . $block->getId(), 'cms_b_' . $block->getIdentifier(), 'FPC'];
7878
$rawActualCacheTags = $response->getHeader('X-Magento-Tags')->getFieldValue();
7979
$actualCacheTags = explode(',', $rawActualCacheTags);
80-
foreach ($expectedCacheTags as $expectedCacheTag) {
81-
$this->assertContains($expectedCacheTag, $actualCacheTags);
82-
}
80+
$this->assertEquals($expectedCacheTags, $actualCacheTags);
8381
}
8482
}

0 commit comments

Comments
 (0)