Skip to content

Commit

Permalink
#10930 getcachetags for price issue
Browse files Browse the repository at this point in the history
  • Loading branch information
keyurshah070 committed Sep 17, 2017
1 parent 989af63 commit f2dd1a1
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 f2dd1a1

Please sign in to comment.