Skip to content

Commit 85a9fcb

Browse files
author
Joan He
committed
Merge remote-tracking branch 'origin/MAGETWO-48729-varnish-cache-doesnt-purge' into develop
2 parents 442fc51 + ad1bb50 commit 85a9fcb

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

app/code/Magento/CatalogRule/Test/Unit/Model/Indexer/Product/ProductRuleIndexerTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ public function testDoExecuteList($ids, $idsForIndexer)
5555
$this->indexBuilder->expects($this->once())
5656
->method('reindexByIds')
5757
->with($idsForIndexer);
58-
$this->cacheContextMock->expects($this->once())
59-
->method('registerTags')
60-
->with([\Magento\Catalog\Model\Category::CACHE_TAG]);
6158
$this->cacheContextMock->expects($this->once())
6259
->method('registerEntities')
6360
->with(\Magento\Catalog\Model\Product::CACHE_TAG, $ids);

app/code/Magento/CatalogRule/Test/Unit/Model/Indexer/Rule/RuleProductIndexerTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ public function testDoExecuteList()
5555
->with(
5656
[
5757
\Magento\Catalog\Model\Category::CACHE_TAG,
58-
\Magento\Catalog\Model\Product::CACHE_TAG
58+
\Magento\Catalog\Model\Product::CACHE_TAG,
59+
\Magento\Framework\App\Cache\Type\Block::CACHE_TAG
5960
]
6061
);
6162
$this->indexer->executeList($ids);

app/code/Magento/Indexer/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"require": {
55
"php": "~5.5.22|~5.6.0|~7.0.0",
66
"magento/module-backend": "100.0.*",
7-
"magento/module-page-cache": "100.0.*",
87
"magento/framework": "100.0.*"
98
},
109
"type": "magento2-module",

0 commit comments

Comments
 (0)