优化一处测试用例

This commit is contained in:
GoEdgeLab
2023-09-12 16:51:15 +08:00
parent de3e7db234
commit 0843f727e1

View File

@@ -22,10 +22,10 @@ func TestIPListDB_AddItem(t *testing.T) {
IpFrom: "192.168.1.101",
IpTo: "",
Version: 1024,
ExpiredAt: time.Now().Unix(),
ExpiredAt: time.Now().Unix() + 3600,
Reason: "",
ListId: 2,
IsDeleted: true,
IsDeleted: false,
Type: "ipv4",
EventLevel: "error",
ListType: "black",