aboutsummaryrefslogtreecommitdiff
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.ts6
1 files changed, 3 insertions, 3 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 a0e97c218..f50dc46de 100644
--- a/packages/taler-harness/src/integrationtests/test-age-restrictions-deposit.ts
+++ b/packages/taler-harness/src/integrationtests/test-age-restrictions-deposit.ts
@@ -24,11 +24,11 @@ import {
TransactionMinorState,
} from "@gnu-taler/taler-util";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
-import { GlobalTestState, generateRandomPayto } from "../harness/harness.js";
+import { GlobalTestState, getTestHarnessPaytoForLabel } from "../harness/harness.js";
import {
createSimpleTestkudosEnvironmentV3,
withdrawViaBankV3,
-} from "../harness/helpers.js";
+} from "../harness/environments.js";
import { defaultCoinConfig } from "../harness/denomStructures.js";
/**
@@ -83,7 +83,7 @@ export async function runAgeRestrictionsDepositTest(t: GlobalTestState) {
WalletApiOperation.CreateDepositGroup,
{
amount: "TESTKUDOS:10" as AmountString,
- depositPaytoUri: generateRandomPayto("foo"),
+ depositPaytoUri: getTestHarnessPaytoForLabel("foo"),
transactionId: depositTxId,
},
);