summaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-age-restrictions-deposit.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-age-restrictions-deposit.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-age-restrictions-deposit.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-age-restrictions-deposit.ts b/packages/taler-harness/src/integrationtests/test-age-restrictions-deposit.ts
index d36ba0e61..a0e97c218 100644
--- a/packages/taler-harness/src/integrationtests/test-age-restrictions-deposit.ts
+++ b/packages/taler-harness/src/integrationtests/test-age-restrictions-deposit.ts
@@ -26,8 +26,8 @@ import {
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import { GlobalTestState, generateRandomPayto } from "../harness/harness.js";
import {
- createSimpleTestkudosEnvironmentV2,
- withdrawViaBankV2,
+ createSimpleTestkudosEnvironmentV3,
+ withdrawViaBankV3,
} from "../harness/helpers.js";
import { defaultCoinConfig } from "../harness/denomStructures.js";
@@ -37,8 +37,8 @@ import { defaultCoinConfig } from "../harness/denomStructures.js";
export async function runAgeRestrictionsDepositTest(t: GlobalTestState) {
// Set up test environment
- const { walletClient, bank, exchange } =
- await createSimpleTestkudosEnvironmentV2(
+ const { walletClient, bankClient, exchange } =
+ await createSimpleTestkudosEnvironmentV3(
t,
defaultCoinConfig.map((x) => x("TESTKUDOS")),
{
@@ -48,9 +48,9 @@ export async function runAgeRestrictionsDepositTest(t: GlobalTestState) {
// Withdraw digital cash into the wallet.
- const withdrawalResult = await withdrawViaBankV2(t, {
+ const withdrawalResult = await withdrawViaBankV3(t, {
walletClient,
- bank,
+ bankClient,
exchange,
amount: "TESTKUDOS:20",
});