File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Test/Unit/Block/Category/Plugin Expand file tree Collapse file tree 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)
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 ()
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments