Adapt to changes in gerrit core After change Ia557409f Change-Id: I120afe184749cce4439af2b8f5fd6e353fd1392b
diff --git a/java/com/google/gerrit/plugins/checks/email/CombinedCheckStateUpdatedSender.java b/java/com/google/gerrit/plugins/checks/email/CombinedCheckStateUpdatedSender.java index d8f4e73..4fb9beb 100644 --- a/java/com/google/gerrit/plugins/checks/email/CombinedCheckStateUpdatedSender.java +++ b/java/com/google/gerrit/plugins/checks/email/CombinedCheckStateUpdatedSender.java
@@ -64,7 +64,6 @@ ccAllApprovals(); bccStarredBy(); includeWatchers(NotifyType.ALL_COMMENTS); - removeUsersThatIgnoredTheChange(); } public void setCombinedCheckState(
diff --git a/javatests/com/google/gerrit/plugins/checks/acceptance/api/ChecksEmailIT.java b/javatests/com/google/gerrit/plugins/checks/acceptance/api/ChecksEmailIT.java index bfb3435..081c2bc 100644 --- a/javatests/com/google/gerrit/plugins/checks/acceptance/api/ChecksEmailIT.java +++ b/javatests/com/google/gerrit/plugins/checks/acceptance/api/ChecksEmailIT.java
@@ -69,7 +69,6 @@ private TestAccount bot; private TestAccount owner; - private TestAccount ignoringReviewer; private TestAccount reviewer; private TestAccount starrer; private TestAccount watcher; @@ -127,13 +126,6 @@ projectWatchInfo.notifyNewChanges = true; gApi.accounts().self().setWatchedProjects(ImmutableList.of(projectWatchInfo)); - // Add a reviewer that ignores the change --> user doesn't get notified by checks plugin. - ignoringReviewer = accountCreator.create("ignorer", "ignorer@example.com", "Ignorer", null); - requestScopeOperations.setApiUser(admin.id()); - gApi.changes().id(patchSetId.changeId().get()).addReviewer(ignoringReviewer.username()); - requestScopeOperations.setApiUser(ignoringReviewer.id()); - gApi.changes().id(patchSetId.changeId().get()).ignore(true); - // Reset request scope to admin. requestScopeOperations.setApiUser(admin.id()); }