aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-revocation.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-09-12 12:47:59 +0200
committerFlorian Dold <florian@dold.me>2024-09-12 12:47:59 +0200
commitb39164c4a74cc9312c83eda1eb83b11fb1d73159 (patch)
treeccb2207bb8fc30971174f9ed49b01fedabfbae4c /packages/taler-harness/src/integrationtests/test-revocation.ts
parentc1c0603b3a3684c541e22f55e83323a795f134eb (diff)
harness: new test for KYC auth transfer
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-revocation.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-revocation.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-revocation.ts b/packages/taler-harness/src/integrationtests/test-revocation.ts
index 6441ae974..d88a74150 100644
--- a/packages/taler-harness/src/integrationtests/test-revocation.ts
+++ b/packages/taler-harness/src/integrationtests/test-revocation.ts
@@ -31,7 +31,7 @@ import {
WalletCli,
WalletClient,
delayMs,
- generateRandomPayto,
+ getTestHarnessPaytoForLabel,
setupDb,
} from "../harness/harness.js";
import {
@@ -93,7 +93,7 @@ async function createTestEnvironment(
let receiverName = "Exchange";
let exchangeBankUsername = "exchange";
let exchangeBankPassword = "mypw";
- let exchangePaytoUri = generateRandomPayto(exchangeBankUsername);
+ let exchangePaytoUri = getTestHarnessPaytoForLabel(exchangeBankUsername);
await exchange.addBankAccount("1", {
accountName: exchangeBankUsername,
@@ -153,13 +153,13 @@ async function createTestEnvironment(
await merchant.addInstanceWithWireAccount({
id: "default",
name: "Default Instance",
- paytoUris: [generateRandomPayto("merchant-default")],
+ paytoUris: [getTestHarnessPaytoForLabel("merchant-default")],
});
await merchant.addInstanceWithWireAccount({
id: "minst1",
name: "minst1",
- paytoUris: [generateRandomPayto("minst1")],
+ paytoUris: [getTestHarnessPaytoForLabel("minst1")],
});
console.log("setup done!");