mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-10-22 16:39:19 +08:00
修复测试用例
This commit is contained in:
@@ -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",
|
||||||
|
Reference in New Issue
Block a user