Skip to content

Commit

Permalink
adds missing mock
Browse files Browse the repository at this point in the history
  • Loading branch information
ncode committed Jul 5, 2024
1 parent e91fc3f commit ea74091
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/aclmanager/aclmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,8 @@ func TestSyncAcls_ACLFileEnabled(t *testing.T) {
followerMock.ExpectDo("ACL", "LIST").SetVal([]interface{}{
"user acl1", "user acl3",
})
followerMock.ExpectDo("ACL", "DELUSER", "acl3").SetVal("OK")
followerMock.ExpectDo("ACL", "SETUSER", "acl2").SetVal("OK")

primaryMock.ExpectDo("ACL", "SAVE").SetVal("OK")
followerMock.ExpectDo("ACL", "SAVE").SetVal("OK")
Expand Down

0 comments on commit ea74091

Please sign in to comment.