summaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-claim-loop.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-claim-loop.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-claim-loop.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-claim-loop.ts b/packages/taler-harness/src/integrationtests/test-claim-loop.ts
index a424e0101..01be6ea80 100644
--- a/packages/taler-harness/src/integrationtests/test-claim-loop.ts
+++ b/packages/taler-harness/src/integrationtests/test-claim-loop.ts
@@ -21,8 +21,8 @@ import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import { URL } from "url";
import { GlobalTestState } from "../harness/harness.js";
import {
- createSimpleTestkudosEnvironmentV2,
- withdrawViaBankV2,
+ createSimpleTestkudosEnvironmentV3,
+ withdrawViaBankV3,
} from "../harness/helpers.js";
import { MerchantApiClient } from "@gnu-taler/taler-util";
@@ -35,12 +35,12 @@ import { MerchantApiClient } from "@gnu-taler/taler-util";
export async function runClaimLoopTest(t: GlobalTestState) {
// Set up test environment
- const { walletClient, bank, exchange, merchant } =
- await createSimpleTestkudosEnvironmentV2(t);
+ const { walletClient, bankClient, exchange, merchant } =
+ await createSimpleTestkudosEnvironmentV3(t);
- await withdrawViaBankV2(t, {
+ await withdrawViaBankV3(t, {
walletClient,
- bank,
+ bankClient,
exchange,
amount: "TESTKUDOS:20",
});
@@ -79,4 +79,4 @@ export async function runClaimLoopTest(t: GlobalTestState) {
await t.shutdown();
}
-runClaimLoopTest.suites = ["merchant"]; \ No newline at end of file
+runClaimLoopTest.suites = ["merchant"];