diff options
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-payment-abort.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-payment-abort.ts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-payment-abort.ts b/packages/taler-harness/src/integrationtests/test-payment-abort.ts index 3164bbaf3..fe7ecbcd7 100644 --- a/packages/taler-harness/src/integrationtests/test-payment-abort.ts +++ b/packages/taler-harness/src/integrationtests/test-payment-abort.ts @@ -43,16 +43,18 @@ export async function runPaymentAbortTest(t: GlobalTestState) { // Withdraw digital cash into the wallet. - await withdrawViaBankV2(t, { + const wres = await withdrawViaBankV2(t, { walletClient, bank, exchange: faultyExchange, amount: "TESTKUDOS:20", }); - const merchant = faultyMerchant; + await wres.withdrawalFinishedCond; - const merchantClient = new MerchantApiClient(merchant.makeInstanceBaseUrl()); + const merchantClient = new MerchantApiClient( + faultyMerchant.makeInstanceBaseUrl(), + ); let orderResp = await merchantClient.createOrder({ order: { |