File tree 2 files changed +2
-2
lines changed
Test/Unit/Block/Category/Plugin 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ private function getTaxRateIds(PriceBox $subject)
102
102
103
103
if (!empty ($ billingAddress ) || !empty ($ shippingAddress )) {
104
104
$ rateRequest = $ this ->getTaxCalculation ()->getRateRequest (
105
- $ billingAddress ,
106
105
$ shippingAddress ,
106
+ $ billingAddress ,
107
107
$ customerTaxClassId ,
108
108
$ this ->scopeResolver ->getScope ()->getId (),
109
109
$ this ->customerSession ->getCustomerId ()
Original file line number Diff line number Diff line change @@ -119,8 +119,8 @@ public function testAfterGetCacheKey()
119
119
$ this ->session ->expects ($ this ->once ())->method ('getCustomerId ' )->willReturn ($ customerId );
120
120
$ rateRequest = $ this ->getMockBuilder (\Magento \Framework \DataObject::class)->getMock ();
121
121
$ this ->taxCalculation ->expects ($ this ->once ())->method ('getRateRequest ' )->with (
122
- new \Magento \Framework \DataObject ($ billingAddress ),
123
122
new \Magento \Framework \DataObject ($ shippingAddress ),
123
+ new \Magento \Framework \DataObject ($ billingAddress ),
124
124
$ customerTaxClassId ,
125
125
$ scopeId ,
126
126
$ customerId
You can’t perform that action at this time.
0 commit comments