Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 541ceb3

Browse files
committed
MAGETWO-80511: Issue #9877: Backport of: getCacheTags for price issue #10930 #11154
- Merge Pull Request magento/magento2#11154 from denysbabenko/magento2:9877 - Merged commits: 1. 991ecc7
2 parents 29bc9ad + 991ecc7 commit 541ceb3

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)