diff options
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-payment-fault.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-payment-fault.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-payment-fault.ts b/packages/taler-harness/src/integrationtests/test-payment-fault.ts index dabe42a6b..638620c14 100644 --- a/packages/taler-harness/src/integrationtests/test-payment-fault.ts +++ b/packages/taler-harness/src/integrationtests/test-payment-fault.ts @@ -38,13 +38,13 @@ import { ExchangeService, GlobalTestState, MerchantService, - generateRandomPayto, + getTestHarnessPaytoForLabel, setupDb, } from "../harness/harness.js"; import { createWalletDaemonWithClient, withdrawViaBankV3, -} from "../harness/helpers.js"; +} from "../harness/environments.js"; /** * Run test for basic, bank-integrated withdrawal. @@ -70,8 +70,8 @@ export async function runPaymentFaultTest(t: GlobalTestState) { let receiverName = "Exchange"; let exchangeBankUsername = "exchange"; - let exchangeBankPassword = "mypw"; - let exchangePaytoUri = generateRandomPayto(exchangeBankUsername); + let exchangeBankPassword = "mypw-password"; + let exchangePaytoUri = getTestHarnessPaytoForLabel(exchangeBankUsername); await exchange.addBankAccount("1", { accountName: exchangeBankUsername, @@ -98,7 +98,7 @@ export async function runPaymentFaultTest(t: GlobalTestState) { const bankClient = new TalerCorebankApiClient(bank.corebankApiBaseUrl, { auth: { username: "admin", - password: "adminpw", + password: "admin-password", }, }); @@ -140,7 +140,7 @@ export async function runPaymentFaultTest(t: GlobalTestState) { await merchant.addInstanceWithWireAccount({ id: "default", name: "Default Instance", - paytoUris: [generateRandomPayto("merchant-default")], + paytoUris: [getTestHarnessPaytoForLabel("merchant-default")], }); const merchantClient = new MerchantApiClient(merchant.makeInstanceBaseUrl()); |