From b657f6fdc5ec370868d31af218eb4bc6c6924b51 Mon Sep 17 00:00:00 2001 From: Juliano Martinez Date: Thu, 18 Apr 2024 17:38:42 +0200 Subject: [PATCH] adds aclfile: false to the loop tests --- pkg/aclmanager/aclmanager_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/aclmanager/aclmanager_test.go b/pkg/aclmanager/aclmanager_test.go index 959bc87..bfb6369 100644 --- a/pkg/aclmanager/aclmanager_test.go +++ b/pkg/aclmanager/aclmanager_test.go @@ -531,6 +531,7 @@ func TestAclManager_Loop(t *testing.T) { Addr: "localhost:6379", Password: "password", Username: "username", + aclfile: false, nodes: make(map[string]int), }, wantErr: false, @@ -541,6 +542,7 @@ func TestAclManager_Loop(t *testing.T) { Addr: "localhost:6379", Password: "password", Username: "username", + aclfile: false, nodes: make(map[string]int), }, wantErr: true, @@ -552,6 +554,7 @@ func TestAclManager_Loop(t *testing.T) { Addr: "localhost:6379", Password: "password", Username: "username", + aclfile: false, nodes: make(map[string]int), }, wantErr: true, @@ -563,6 +566,7 @@ func TestAclManager_Loop(t *testing.T) { Addr: "localhost:6379", Password: "password", Username: "username", + aclfile: false, nodes: make(map[string]int), }, wantErr: false,