summaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts11
1 files changed, 5 insertions, 6 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts b/packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts
index aea59b706..c9faa586a 100644
--- a/packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts
+++ b/packages/taler-harness/src/integrationtests/test-age-restrictions-peer.ts
@@ -22,7 +22,6 @@ import {
AmountString,
Duration,
NotificationType,
- TalerUriAction,
TransactionMajorState,
TransactionMinorState,
TransactionType,
@@ -31,9 +30,9 @@ import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import { defaultCoinConfig } from "../harness/denomStructures.js";
import { GlobalTestState } from "../harness/harness.js";
import {
- createSimpleTestkudosEnvironmentV2,
+ createSimpleTestkudosEnvironmentV3,
createWalletDaemonWithClient,
- withdrawViaBankV2,
+ withdrawViaBankV3,
} from "../harness/helpers.js";
/**
@@ -42,7 +41,7 @@ import {
export async function runAgeRestrictionsPeerTest(t: GlobalTestState) {
// Set up test environment
- const { bank, exchange } = await createSimpleTestkudosEnvironmentV2(
+ const { bankClient, exchange } = await createSimpleTestkudosEnvironmentV3(
t,
defaultCoinConfig.map((x) => x("TESTKUDOS")),
{
@@ -63,9 +62,9 @@ export async function runAgeRestrictionsPeerTest(t: GlobalTestState) {
const wallet2 = w2.walletClient;
{
- const withdrawalRes = await withdrawViaBankV2(t, {
+ const withdrawalRes = await withdrawViaBankV3(t, {
walletClient: wallet1,
- bank,
+ bankClient,
exchange,
amount: "TESTKUDOS:20",
restrictAge: 13,