Skip to content

Commit

Permalink
Merge branch '2.2-develop' of github.com:magento/magento2ce into 2.2-…
Browse files Browse the repository at this point in the history
…bugs
  • Loading branch information
omiroshnichenko committed Aug 14, 2017
2 parents 64debfd + eed81bf commit 1739b66
Show file tree
Hide file tree
Showing 11 changed files with 71 additions and 404 deletions.
2 changes: 1 addition & 1 deletion app/code/Magento/Catalog/Model/ProductRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ public function save(\Magento\Catalog\Api\Data\ProductInterface $product, $saveO
}
unset($this->instances[$product->getSku()]);
unset($this->instancesById[$product->getId()]);
return $this->get($product->getSku());
return $this->get($product->getSku(), false, $product->getStoreId());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ protected function setUp()
'validate',
'save',
'getMediaGalleryEntries',
'setData'
'setData',
'getStoreId'
]);
$this->initializedProductMock->expects($this->any())
->method('hasGalleryAttribute')
Expand Down

This file was deleted.

Loading

0 comments on commit 1739b66

Please sign in to comment.