fix date test

This commit is contained in:
Looly
2022-02-04 13:53:15 +08:00
parent dabb21aad1
commit 8cbcf034d3
3 changed files with 6 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ public class Issue677Test {
final String jsonStr = JSONUtil.toJsonStr(dto);
final AuditResultDto auditResultDto = JSONUtil.toBean(jsonStr, AuditResultDto.class);
Assert.assertEquals("Mon Dec 15 00:00:00 CST 1969", auditResultDto.getDate().toString());
Assert.assertEquals("Mon Dec 15 00:00:00 CST 1969", auditResultDto.getDate().toString().replace("GMT+08:00", "CST"));
}
@Data