CodeOwnersOnPostReviewIT: Drop comments that no longer apply
This behaviour was changed by change Ide1b122b6 and change I8b378c75c.
Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Ie9827f3b079d518d682a349241a0cd0247d0fb07
diff --git a/javatests/com/google/gerrit/plugins/codeowners/acceptance/api/CodeOwnersOnPostReviewIT.java b/javatests/com/google/gerrit/plugins/codeowners/acceptance/api/CodeOwnersOnPostReviewIT.java
index 5c3f509..6debe05 100644
--- a/javatests/com/google/gerrit/plugins/codeowners/acceptance/api/CodeOwnersOnPostReviewIT.java
+++ b/javatests/com/google/gerrit/plugins/codeowners/acceptance/api/CodeOwnersOnPostReviewIT.java
@@ -159,8 +159,6 @@
reviewInput.labels.put("Other", (short) 1);
gApi.changes().id(changeId).current().review(reviewInput);
- // The message is unchanged, since reapplying the same code owner approval is ignored by Gerrit
- // core (the change message only mentions the new vote, but not the reapplied vote).
Collection<ChangeMessageInfo> messages = gApi.changes().id(changeId).get().messages;
assertThat(Iterables.getLast(messages).message)
.isEqualTo(
@@ -213,8 +211,6 @@
reviewInput.comments.put(commentInput.path, Lists.newArrayList(commentInput));
gApi.changes().id(changeId).current().review(reviewInput);
- // The message is unchanged, since reapplying the same code owner approval is ignored by Gerrit
- // core (the change message only mentions the comment, but not the reapplied vote).
Collection<ChangeMessageInfo> messages = gApi.changes().id(changeId).get().messages;
assertThat(Iterables.getLast(messages).message)
.isEqualTo(