diff --git a/internal/iplibrary/ip_list_db_test.go b/internal/iplibrary/ip_list_db_test.go index 6835342..24258b6 100644 --- a/internal/iplibrary/ip_list_db_test.go +++ b/internal/iplibrary/ip_list_db_test.go @@ -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",