fix IBAN generator
This commit is contained in:
parent
263b1e7751
commit
a6016952e6
@ -65,7 +65,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.random() * 100000000)
|
||||||
.toString()
|
.toString()
|
||||||
.substring(0, 8)}`;
|
.substring(0, 6)}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getRandomString(): string {
|
export function getRandomString(): string {
|
||||||
|
Loading…
Reference in New Issue
Block a user