From 0843f727e163b2d6a2071514fac6fe53aadecc8c Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Tue, 12 Sep 2023 16:51:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=80=E5=A4=84=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/iplibrary/ip_list_db_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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",