Skip to content

Commit

Permalink
adds the missing command mock
Browse files Browse the repository at this point in the history
  • Loading branch information
ncode committed Dec 4, 2023
1 parent 68b0a06 commit 2340f1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/aclmanager/aclmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ func TestAclManager_Loop(t *testing.T) {
if tt.name == "primary node" {
mock.ExpectInfo("replication").SetErr(fmt.Errorf("error"))
} else {
mock.ExpectInfo("replication").SetVal(followerOutput)
mock.ExpectInfo("replication").SetVal(followerOutput)
mock.ExpectInfo("replication").SetErr(fmt.Errorf("error"))
}
Expand Down

0 comments on commit 2340f1c

Please sign in to comment.