File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ public function getIdentities()
360360 */
361361 public function getAddToCartPostParams (Product $ product )
362362 {
363- $ url = $ this ->getAddToCartUrl ($ product );
363+ $ url = $ this ->getAddToCartUrl ($ product, [ ' _escape ' => false ] );
364364 return [
365365 'action ' => $ url ,
366366 'data ' => [
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ public function testGetAddToCartPostParams()
217217 ->will ($ this ->returnValue (true ));
218218 $ this ->cartHelperMock ->expects ($ this ->any ())
219219 ->method ('getAddUrl ' )
220- ->with ($ this ->equalTo ($ this ->productMock ), $ this ->equalTo ([]))
220+ ->with ($ this ->equalTo ($ this ->productMock ), $ this ->equalTo ([' _escape ' => false ]))
221221 ->will ($ this ->returnValue ($ url ));
222222 $ this ->productMock ->expects ($ this ->once ())
223223 ->method ('getEntityId ' )
You can’t perform that action at this time.
0 commit comments