Skip to content

Commit 7b83c05

Browse files
MAGETWO-40747: Resolve dependecy to indexer module
1 parent 5741d90 commit 7b83c05

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

app/code/Magento/Catalog/Test/Unit/Model/Indexer/Category/AffectCacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function setUp()
3232
{
3333
$this->subjectMock = $this->getMockForAbstractClass('Magento\Framework\Indexer\ActionInterface',
3434
[], '', false, true, true, []);
35-
$this->contextMock = $this->getMock('Magento\Indexer\Model\CacheContext',
35+
$this->contextMock = $this->getMock('Magento\Framework\Indexer\CacheContext',
3636
[], [], '', false);
3737
$this->plugin = new \Magento\Catalog\Model\Indexer\Category\AffectCache($this->contextMock);
3838
}

app/code/Magento/Catalog/Test/Unit/Model/Indexer/Product/AffectCacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function setUp()
3232
{
3333
$this->subjectMock = $this->getMockForAbstractClass('Magento\Framework\Indexer\ActionInterface',
3434
[], '', false, true, true, []);
35-
$this->contextMock = $this->getMock('Magento\Indexer\Model\CacheContext',
35+
$this->contextMock = $this->getMock('Magento\Framework\Indexer\CacheContext',
3636
[], [], '', false);
3737
$this->plugin = new \Magento\Catalog\Model\Indexer\Product\AffectCache($this->contextMock);
3838
}

app/code/Magento/Catalog/Test/Unit/Plugin/Model/Product/Action/UpdateAttributesFlushCacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function testAroundUpdateAttributes()
1717

1818
$productActionMock = $this->getMock('Magento\Catalog\Model\Product\Action', [], [], '', false);
1919

20-
$cacheContextMock = $this->getMock('Magento\Indexer\Model\CacheContext', [], [], '', false);
20+
$cacheContextMock = $this->getMock('Magento\Framework\Indexer\CacheContext', [], [], '', false);
2121
$cacheContextMock->expects($this->once())
2222
->method('registerEntities')
2323
->with(Product::CACHE_TAG, $productIds);

app/code/Magento/Indexer/Test/Unit/Model/Processor/InvalidateCacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class InvalidateCacheTest extends \PHPUnit_Framework_TestCase
4949
public function setUp()
5050
{
5151
$this->subjectMock = $this->getMock('Magento\Indexer\Model\Processor', [], [], '', false);
52-
$this->contextMock = $this->getMock('Magento\Indexer\Model\CacheContext', [], [], '', false);
52+
$this->contextMock = $this->getMock('Magento\Framework\Indexer\CacheContext', [], [], '', false);
5353
$this->eventManagerMock = $this->getMock('Magento\Framework\Event\Manager', [], [], '', false);
5454
$this->moduleManager = $this->getMock('Magento\Framework\Module\Manager', [], [], '', false);
5555
$this->plugin = new \Magento\Indexer\Model\Processor\InvalidateCache(

0 commit comments

Comments
 (0)