修复测试用例

This commit is contained in:
lanrenwo 2022-10-21 09:23:35 +08:00
parent a83999013e
commit 6915d94f31
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ func TestSearchAudit(t *testing.T) {
defer closeIpdata()
currDateVal := "2022-07-24 00:00:00"
CreatedAt, _ := time.Parse("2006-01-02 15:04:05", currDateVal)
CreatedAt, _ := time.ParseInLocation("2006-01-02 15:04:05", currDateVal, time.Local)
dataTest := AccessAudit{
Username: "Test",