Skip to content

Commit

Permalink
fix(payments-plugin): mock request with resource paramter
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvdbrug committed Oct 10, 2023
1 parent cb26f7f commit 0ddfbd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/payments-plugin/e2e/mollie-payment.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ describe('Mollie payments (with useDynamicRedirectUrl set to true)', () => {

it('Should get available paymentMethods', async () => {
nock('https://api.mollie.com/')
.get('/v2/methods')
.get('/v2/methods?resource=orders')
.reply(200, mockData.molliePaymentMethodsResponse);
await shopClient.asUserWithCredentials(customers[0].emailAddress, 'test');
const { molliePaymentMethods } = await shopClient.query(GET_MOLLIE_PAYMENT_METHODS, {
Expand Down

0 comments on commit 0ddfbd4

Please sign in to comment.