diff --git a/client/express-checkout/__tests__/event-handler.test.js b/client/express-checkout/__tests__/event-handler.test.js index a6af507eb..801e5c347 100644 --- a/client/express-checkout/__tests__/event-handler.test.js +++ b/client/express-checkout/__tests__/event-handler.test.js @@ -340,7 +340,8 @@ describe( 'Express checkout event handlers', () => { ); expect( abortPayment ).toHaveBeenCalledWith( event, - 'Order creation error' + 'Order creation error', + true ); expect( completePayment ).not.toHaveBeenCalled(); } ); @@ -467,7 +468,8 @@ describe( 'Express checkout event handlers', () => { ); expect( abortPayment ).toHaveBeenCalledWith( event, - 'Order creation error' + 'Order creation error', + true ); expect( completePayment ).not.toHaveBeenCalled(); } );