Skip to content

Commit

Permalink
fix: add check for mock calls in DeleteRole
Browse files Browse the repository at this point in the history
  • Loading branch information
shipperizer committed Aug 2, 2024
1 parent dd885d9 commit e9e3d54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/roles/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ func TestServiceDeleteRole(t *testing.T) {
mockLogger.EXPECT().Errorf(gomock.Any(), gomock.Any(), gomock.Any()).AnyTimes()
}

gomock.InAnyOrder(calls)
_ = svc.DeleteRole(context.Background(), test.input)

})
Expand Down

0 comments on commit e9e3d54

Please sign in to comment.