优化一处测试用例

This commit is contained in:
刘祥超
2023-09-12 16:51:15 +08:00
parent d067cd8437
commit 2ca79953b9

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",