![]() We had a short-circuit check that throws ResourceNotFoundException if no votes would be removed. However, in NoteDb, it is possible to have a reviewer who has no votes, rather than the dummy vote found in NoteDb. Fix the short-circuit check to depend on the actual reviewer set, rather than the vote list. Add a test case to ChangeIT. The existing removeReviewer test didn't catch this because it always added a vote before removing the reviewer. Change-Id: Id56e4df95d5799580219d09c65a26f671b2f4202 |
||
---|---|---|
.. | ||
src/test/java/com/google/gerrit/acceptance | ||
BUCK | ||
BUILD | ||
tests.bzl | ||
tests.defs |