diff --git a/test/pact/connector-client/connector-get-charge.pact.test.js b/test/pact/connector-client/connector-get-charge.pact.test.js index 5942d110ea..5f2c4f369c 100644 --- a/test/pact/connector-client/connector-get-charge.pact.test.js +++ b/test/pact/connector-client/connector-get-charge.pact.test.js @@ -49,7 +49,7 @@ describe('connector client - get single charge', () => { const response = chargeFixture.validGetChargeResponse(opts) before(() => { - provider.addInteraction( + return provider.addInteraction( new PactInteractionBuilder(`${ACCOUNTS_RESOURCE}/${existingGatewayAccountId}/charges/${existingChargeExternalId}`) .withUponReceiving('a valid get charge request') .withState(defaultState)