diff options
author | ms <ms@taler.net> | 2021-11-13 12:53:48 +0100 |
---|---|---|
committer | ms <ms@taler.net> | 2021-11-13 12:55:15 +0100 |
commit | 9692f589c687a2ba39a705ca4238cf123f444c61 (patch) | |
tree | 009e873d2ab1fa89c141b8ebb3d4775fdaaad62e /packages/taler-wallet-cli/src/harness/libeufin.ts | |
parent | 50b9f2167cb4acfae2158bc3c7e1f7173064195d (diff) | |
download | wallet-core-9692f589c687a2ba39a705ca4238cf123f444c61.tar.xz |
Bring euFin-based tests to pass.
Note: timetravel-withdraw is now failing for both
pybank and eufin. That is likely due to the wallet
not refreshing expired denominations.
Diffstat (limited to 'packages/taler-wallet-cli/src/harness/libeufin.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/harness/libeufin.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/taler-wallet-cli/src/harness/libeufin.ts b/packages/taler-wallet-cli/src/harness/libeufin.ts index d101efa52..0107d5a8b 100644 --- a/packages/taler-wallet-cli/src/harness/libeufin.ts +++ b/packages/taler-wallet-cli/src/harness/libeufin.ts @@ -36,8 +36,8 @@ import { runCommand, setupDb, sh, + getRandomIban } from "../harness/harness.js"; - import { LibeufinSandboxApi, LibeufinNexusApi, @@ -183,10 +183,6 @@ export interface LibeufinPreparedPaymentDetails { nexusBankAccountName: string; } -function getRandomIban(countryCode: string): string { - return `${countryCode}715001051796${(Math.random().toString().substring(2, 8))}` -} - export class LibeufinSandboxService implements LibeufinSandboxServiceInterface { static async create( gc: GlobalTestState, @@ -405,7 +401,7 @@ export class SandboxUserBundle { constructor(salt: string) { this.ebicsBankAccount = { bic: "BELADEBEXXX", - iban: getRandomIban("DE"), + iban: getRandomIban(), label: `remote-account-${salt}`, name: `Taler Exchange: ${salt}`, subscriber: { |