mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-18 11:40:24 +08:00
优化一处测试用例
This commit is contained in:
@@ -22,10 +22,10 @@ func TestIPListDB_AddItem(t *testing.T) {
|
|||||||
IpFrom: "192.168.1.101",
|
IpFrom: "192.168.1.101",
|
||||||
IpTo: "",
|
IpTo: "",
|
||||||
Version: 1024,
|
Version: 1024,
|
||||||
ExpiredAt: time.Now().Unix(),
|
ExpiredAt: time.Now().Unix() + 3600,
|
||||||
Reason: "",
|
Reason: "",
|
||||||
ListId: 2,
|
ListId: 2,
|
||||||
IsDeleted: true,
|
IsDeleted: false,
|
||||||
Type: "ipv4",
|
Type: "ipv4",
|
||||||
EventLevel: "error",
|
EventLevel: "error",
|
||||||
ListType: "black",
|
ListType: "black",
|
||||||
|
|||||||
Reference in New Issue
Block a user