diff options
Diffstat (limited to 'packages/taler-wallet-cli/src/harness/helpers.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/harness/helpers.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/harness/helpers.ts b/packages/taler-wallet-cli/src/harness/helpers.ts index 1dc38f0ff..59e41d1ad 100644 --- a/packages/taler-wallet-cli/src/harness/helpers.ts +++ b/packages/taler-wallet-cli/src/harness/helpers.ts @@ -63,7 +63,7 @@ export interface SimpleTestEnvironment { } export function getRandomIban(countryCode: string): string { - return `${countryCode}715001051796${Math.floor(Math.random() * 1000000)}`; + return `${countryCode}715001051796${(Math.random().toString().substring(2, 8))}` } export function getRandomString(): string { |