Skip to content

Commit

Permalink
MAGETWO-80511: Issue #9877: Backport of: getCacheTags for price issue #…
Browse files Browse the repository at this point in the history
…10930 #11154

 - Merge Pull Request #11154 from denysbabenko/magento2:9877
 - Merged commits:
   1. 991ecc7
  • Loading branch information
orlangur committed Sep 30, 2017
2 parents 29bc9ad + 991ecc7 commit 541ceb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ private function getTaxRateIds(PriceBox $subject)

if (!empty($billingAddress) || !empty($shippingAddress)) {
$rateRequest = $this->getTaxCalculation()->getRateRequest(
$billingAddress,
$shippingAddress,
$billingAddress,
$customerTaxClassId,
$this->scopeResolver->getScope()->getId(),
$this->customerSession->getCustomerId()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ public function testAfterGetCacheKey()
$this->session->expects($this->once())->method('getCustomerId')->willReturn($customerId);
$rateRequest = $this->getMockBuilder(\Magento\Framework\DataObject::class)->getMock();
$this->taxCalculation->expects($this->once())->method('getRateRequest')->with(
new \Magento\Framework\DataObject($billingAddress),
new \Magento\Framework\DataObject($shippingAddress),
new \Magento\Framework\DataObject($billingAddress),
$customerTaxClassId,
$scopeId,
$customerId
Expand Down

0 comments on commit 541ceb3

Please sign in to comment.