diff options
author | Florian Dold <florian@dold.me> | 2024-09-12 12:47:59 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-09-12 12:47:59 +0200 |
commit | b39164c4a74cc9312c83eda1eb83b11fb1d73159 (patch) | |
tree | ccb2207bb8fc30971174f9ed49b01fedabfbae4c /packages/taler-harness/src/integrationtests/test-exchange-timetravel.ts | |
parent | c1c0603b3a3684c541e22f55e83323a795f134eb (diff) |
harness: new test for KYC auth transfer
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-exchange-timetravel.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-exchange-timetravel.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-exchange-timetravel.ts b/packages/taler-harness/src/integrationtests/test-exchange-timetravel.ts index 4f2fb1ee4..828289373 100644 --- a/packages/taler-harness/src/integrationtests/test-exchange-timetravel.ts +++ b/packages/taler-harness/src/integrationtests/test-exchange-timetravel.ts @@ -35,7 +35,7 @@ import { makeNoFeeCoinConfig } from "../harness/denomStructures.js"; import { BankService, ExchangeService, - generateRandomPayto, + getTestHarnessPaytoForLabel, GlobalTestState, MerchantService, setupDb, @@ -128,7 +128,7 @@ export async function runExchangeTimetravelTest(t: GlobalTestState) { let receiverName = "Exchange"; let exchangeBankUsername = "exchange"; let exchangeBankPassword = "mypw"; - let exchangePaytoUri = generateRandomPayto(exchangeBankUsername); + let exchangePaytoUri = getTestHarnessPaytoForLabel(exchangeBankUsername); await exchange.addBankAccount("1", { accountName: exchangeBankUsername, @@ -171,13 +171,13 @@ export async function runExchangeTimetravelTest(t: GlobalTestState) { 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!"); |