aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-payment-multiple.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-09-06 14:19:24 +0200
committerFlorian Dold <florian@dold.me>2023-09-06 14:19:24 +0200
commit6affe04fe6919767181274891fd948688dedd700 (patch)
tree3cf4b60261b3c50682d40585b672fa02b3666be1 /packages/taler-harness/src/integrationtests/test-payment-multiple.ts
parent3ee3ab3cedf64ea643055a5b99ae5d35385ea037 (diff)
downloadwallet-core-6affe04fe6919767181274891fd948688dedd700.tar.xz
harness: wait for withdrawal, configure instance properly
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-payment-multiple.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-payment-multiple.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-payment-multiple.ts b/packages/taler-harness/src/integrationtests/test-payment-multiple.ts
index 23972ed63..4ef5e3bff 100644
--- a/packages/taler-harness/src/integrationtests/test-payment-multiple.ts
+++ b/packages/taler-harness/src/integrationtests/test-payment-multiple.ts
@@ -123,13 +123,15 @@ export async function runPaymentMultipleTest(t: GlobalTestState) {
// Withdraw digital cash into the wallet.
- await withdrawViaBankV2(t, {
+ const wres = await withdrawViaBankV2(t, {
walletClient,
bank,
exchange,
amount: "TESTKUDOS:100",
});
+ await wres.withdrawalFinishedCond;
+
// Set up order.
const orderResp = await merchantClient.createOrder({