Skip to content

Commit f2dd1a1

Browse files
committed
#10930 getcachetags for price issue
1 parent 989af63 commit f2dd1a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Catalog/Block/Category/Plugin/PriceBoxTags.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ private function getTaxRateIds(PriceBox $subject)
102102

103103
if (!empty($billingAddress) || !empty($shippingAddress)) {
104104
$rateRequest = $this->getTaxCalculation()->getRateRequest(
105-
$billingAddress,
106105
$shippingAddress,
106+
$billingAddress,
107107
$customerTaxClassId,
108108
$this->scopeResolver->getScope()->getId(),
109109
$this->customerSession->getCustomerId()

app/code/Magento/Catalog/Test/Unit/Block/Category/Plugin/PriceBoxTagsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ public function testAfterGetCacheKey()
119119
$this->session->expects($this->once())->method('getCustomerId')->willReturn($customerId);
120120
$rateRequest = $this->getMockBuilder(\Magento\Framework\DataObject::class)->getMock();
121121
$this->taxCalculation->expects($this->once())->method('getRateRequest')->with(
122-
new \Magento\Framework\DataObject($billingAddress),
123122
new \Magento\Framework\DataObject($shippingAddress),
123+
new \Magento\Framework\DataObject($billingAddress),
124124
$customerTaxClassId,
125125
$scopeId,
126126
$customerId

0 commit comments

Comments
 (0)