diff --git a/pkg/aclmanager/aclmanager_test.go b/pkg/aclmanager/aclmanager_test.go index 18f7201..0b9058d 100644 --- a/pkg/aclmanager/aclmanager_test.go +++ b/pkg/aclmanager/aclmanager_test.go @@ -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")