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
  • Loading branch information
vrann authored Oct 4, 2017
2 parents 4a58f62 + 541ceb3 commit 60424fb
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 60424fb

Please sign in to comment.