File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -235,10 +235,10 @@ export class FinanceModule {
235
235
236
236
let address = this . faker . helpers . arrayElement ( [ '1' , '3' ] ) ;
237
237
238
- for ( let i = 0 ; i < addressLength - 1 ; i ++ )
239
- address += this . faker . helpers . arrayElement (
240
- '123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ' . split ( '' )
241
- ) ;
238
+ address += this . faker . random . alphaNumeric ( addressLength , {
239
+ casing : 'mixed' ,
240
+ bannedChars : '0OIl' ,
241
+ } ) ;
242
242
243
243
return address ;
244
244
}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ exports[`finance > 42 > bic > noArgs 1`] = `"UYETSCLL"`;
20
20
21
21
exports [` finance > 42 > bic > with branch code 1` ] = ` "JUYEPSSL5G5"` ;
22
22
23
- exports [` finance > 42 > bitcoinAddress 1` ] = ` "3XbJMAAara64sSkA9HD24YHQWd1bZb "` ;
23
+ exports [` finance > 42 > bitcoinAddress 1` ] = ` "3XbJMAAara64sSkA9HD24YHQWd1bZbB "` ;
24
24
25
25
exports [` finance > 42 > creditCardCVV 1` ] = ` "379"` ;
26
26
@@ -86,7 +86,7 @@ exports[`finance > 1211 > bic > noArgs 1`] = `"LXUFBTZ15O7"`;
86
86
87
87
exports [` finance > 1211 > bic > with branch code 1` ] = ` "YLXUDE4ZXXX"` ;
88
88
89
- exports [` finance > 1211 > bitcoinAddress 1` ] = ` "1TMe8Z3EaFdLqmaGKP1LEEJQVriSZRZdsAUc9n "` ;
89
+ exports [` finance > 1211 > bitcoinAddress 1` ] = ` "1TMe8Z3EaFdLqmaGKP1LEEJQVriSZRZdsAUc9nC "` ;
90
90
91
91
exports [` finance > 1211 > creditCardCVV 1` ] = ` "948"` ;
92
92
@@ -152,7 +152,7 @@ exports[`finance > 1337 > bic > noArgs 1`] = `"OEFHLYG1"`;
152
152
153
153
exports [` finance > 1337 > bic > with branch code 1` ] = ` "GOEFFIJGXXX"` ;
154
154
155
- exports [` finance > 1337 > bitcoinAddress 1` ] = ` "3adhxs2jewAgkYgJi7No6Cn8JZar "` ;
155
+ exports [` finance > 1337 > bitcoinAddress 1` ] = ` "3adhxs2jewAgkYgJi7No6Cn8JZarS "` ;
156
156
157
157
exports [` finance > 1337 > creditCardCVV 1` ] = ` "251"` ;
158
158
You can’t perform that action at this time.
0 commit comments