Skip to content

Commit

Permalink
adds aclfile: false to the loop tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ncode committed Apr 18, 2024
1 parent 78ebd10 commit b657f6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/aclmanager/aclmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit b657f6f

Please sign in to comment.