@@ -60,7 +60,7 @@ it("unblocks account when added to whitelist", async () => {
6060 accountName : a . accountName ,
6161 comment : "test" ,
6262 operatorId : "123" ,
63- expirationTime :new Date ( "2025 -01-01T00:00:00.000Z" ) . toISOString ( ) ,
63+ expirationTime :new Date ( "2125 -01-01T00:00:00.000Z" ) . toISOString ( ) ,
6464 } ) ;
6565
6666 await reloadEntity ( em , a ) ;
@@ -74,7 +74,7 @@ it("blocks account when it is dewhitelisted and balance is < 0", async () => {
7474 account : a ,
7575 comment : "" ,
7676 operatorId : "123" ,
77- expirationTime :new Date ( "2025 -01-01T00:00:00.000Z" ) ,
77+ expirationTime :new Date ( "2125 -01-01T00:00:00.000Z" ) ,
7878 } ) ;
7979
8080 await em . persistAndFlush ( whitelist ) ;
@@ -105,7 +105,7 @@ it("blocks account when it is dewhitelisted and balance is = 0", async () => {
105105 account : a ,
106106 comment : "" ,
107107 operatorId : "123" ,
108- expirationTime :new Date ( "2025 -01-01T00:00:00.000Z" ) ,
108+ expirationTime :new Date ( "2125 -01-01T00:00:00.000Z" ) ,
109109 } ) ;
110110
111111 await em . persistAndFlush ( whitelist ) ;
@@ -138,7 +138,7 @@ it("charges user but don't block account if account is whitelist", async () => {
138138 account : a ,
139139 comment : "123" ,
140140 operatorId : "123" ,
141- expirationTime :new Date ( "2025 -01-01T00:00:00.000Z" ) ,
141+ expirationTime :new Date ( "2125 -01-01T00:00:00.000Z" ) ,
142142 } ) ) ;
143143
144144 await em . flush ( ) ;
@@ -168,7 +168,7 @@ it("get whitelisted accounts", async () => {
168168 comment : "" ,
169169 operatorId : "123" ,
170170 time : new Date ( "2023-01-01T00:00:00.000Z" ) ,
171- expirationTime :new Date ( "2025 -01-01T00:00:00.000Z" ) ,
171+ expirationTime :new Date ( "2125 -01-01T00:00:00.000Z" ) ,
172172 } ) ;
173173
174174 await em . persistAndFlush ( whitelist ) ;
@@ -191,7 +191,7 @@ it("get whitelisted accounts", async () => {
191191 "comment" : "" ,
192192 "addTime" : "2023-01-01T00:00:00.000Z" ,
193193 balance : decimalToMoney ( data . accountA . balance ) ,
194- "expirationTime" :"2025 -01-01T00:00:00.000Z" ,
194+ "expirationTime" :"2125 -01-01T00:00:00.000Z" ,
195195 } ,
196196 ] ) ;
197197
0 commit comments