Skip to content

Commit

Permalink
chore(dev-server): Fix check condition in load test
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Dec 13, 2019
1 parent ffe47b1 commit ab7223e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function() {
const data = getShippingMethodsQuery.post().data;
const result = completeOrderMutation.post({ id: data.eligibleShippingMethods[0].id }).data;
check(result, {
'Order completed': r => r.addPaymentToOrder.state === 'PaymentSettled',
'Order completed': r => r.addPaymentToOrder.state === 'PaymentAuthorized',
});
}

Expand Down

0 comments on commit ab7223e

Please sign in to comment.