Skip to content

Commit 8b98dd6

Browse files
author
Alex Akimov
committed
MAGETWO-49956: Store Selector for Product Page
- CI builds stabilization;
1 parent 48de6ea commit 8b98dd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Catalog/Test/Unit/Model/ProductRepositoryTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,9 @@ protected function setUp()
256256
->setMethods([])
257257
->getMockForAbstractClass();
258258
$storeMock->expects($this->any())->method('getWebsiteId')->willReturn('1');
259+
$storeMock->expects($this->any())->method('getCode')->willReturn(\Magento\Store\Model\Store::ADMIN_CODE);
259260
$this->storeManagerMock->expects($this->any())->method('getStore')->willReturn($storeMock);
261+
$this->storeManagerMock->expects($this->any())->method('getWebsites')->willReturn([1 => 'default']);
260262

261263
$this->mediaGalleryProcessor = $this->getMock(
262264
'Magento\Catalog\Model\Product\Gallery\Processor',

0 commit comments

Comments
 (0)