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()
360
360
*/
361
361
public function getAddToCartPostParams (Product $ product )
362
362
{
363
- $ url = $ this ->getAddToCartUrl ($ product );
363
+ $ url = $ this ->getAddToCartUrl ($ product, [ ' _escape ' => false ] );
364
364
return [
365
365
'action ' => $ url ,
366
366
'data ' => [
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ public function testGetAddToCartPostParams()
217
217
->will ($ this ->returnValue (true ));
218
218
$ this ->cartHelperMock ->expects ($ this ->any ())
219
219
->method ('getAddUrl ' )
220
- ->with ($ this ->equalTo ($ this ->productMock ), $ this ->equalTo ([]))
220
+ ->with ($ this ->equalTo ($ this ->productMock ), $ this ->equalTo ([' _escape ' => false ]))
221
221
->will ($ this ->returnValue ($ url ));
222
222
$ this ->productMock ->expects ($ this ->once ())
223
223
->method ('getEntityId ' )
You can’t perform that action at this time.
0 commit comments