fix IBAN generator
This commit is contained in:
parent
1419751bfb
commit
240a8c7427
@ -63,9 +63,7 @@ export interface SimpleTestEnvironment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getRandomIban(countryCode: string): string {
|
export function getRandomIban(countryCode: string): string {
|
||||||
return `${countryCode}715001051796${(Math.random() * 100000000)
|
return `${countryCode}715001051796${Math.floor(Math.random() * 1000000)}`;
|
||||||
.toString()
|
|
||||||
.substring(0, 6)}`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getRandomString(): string {
|
export function getRandomString(): string {
|
||||||
|
Loading…
Reference in New Issue
Block a user