mirror of https://github.com/bjdgyc/anylink.git
修复测试用例
This commit is contained in:
parent
a83999013e
commit
6915d94f31
|
@ -15,7 +15,7 @@ func TestSearchAudit(t *testing.T) {
|
||||||
defer closeIpdata()
|
defer closeIpdata()
|
||||||
|
|
||||||
currDateVal := "2022-07-24 00:00:00"
|
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{
|
dataTest := AccessAudit{
|
||||||
Username: "Test",
|
Username: "Test",
|
||||||
|
|
Loading…
Reference in New Issue