aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-simple-payment.ts
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-08-25 13:24:30 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-08-25 13:24:30 +0200
commita58f73ecdb995e02a770338aa8a8aa529ccfdfaa (patch)
treee1f329bb59ffd1fa4419241cf3bc849738103b54 /packages/taler-harness/src/integrationtests/test-simple-payment.ts
parent5ab3070b3a63c2e8fed0e413dea06cf03fb48f1e (diff)
parent896841aec5dc3594d83cc300349d20ec2270f88e (diff)
Merge branch 'master' into age-withdraw
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-simple-payment.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-simple-payment.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-simple-payment.ts b/packages/taler-harness/src/integrationtests/test-simple-payment.ts
index 82fa5f21d..58ab61435 100644
--- a/packages/taler-harness/src/integrationtests/test-simple-payment.ts
+++ b/packages/taler-harness/src/integrationtests/test-simple-payment.ts
@@ -1,6 +1,6 @@
/*
This file is part of GNU Taler
- (C) 2020 Taler Systems S.A.
+ (C) 2023 Taler Systems S.A.
GNU Taler is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
@@ -20,11 +20,10 @@
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import { GlobalTestState } from "../harness/harness.js";
import {
- createSimpleTestkudosEnvironmentV2,
withdrawViaBankV2,
makeTestPaymentV2,
+ useSharedTestkudosEnvironment,
} from "../harness/helpers.js";
-import { j2s } from "@gnu-taler/taler-util";
/**
* Run test for basic, bank-integrated withdrawal and payment.
@@ -33,7 +32,7 @@ export async function runSimplePaymentTest(t: GlobalTestState) {
// Set up test environment
const { walletClient, bank, exchange, merchant } =
- await createSimpleTestkudosEnvironmentV2(t);
+ await useSharedTestkudosEnvironment(t);
// Withdraw digital cash into the wallet.