Adapt to change in Gerrit core
Change I6a6fbe10d in Gerrit core replaced
ChangeInserter#setValidate(false) with
ChangeInserter#disableValidation().
Change-Id: I5b5b43717353267112725a442a183587bfa41161
Signed-off-by: Edwin Kempin <ekempin@google.com>
diff --git a/javatests/com/google/gerrit/plugins/checks/acceptance/CheckerRefsIT.java b/javatests/com/google/gerrit/plugins/checks/acceptance/CheckerRefsIT.java
index b0defa4..4253729 100644
--- a/javatests/com/google/gerrit/plugins/checks/acceptance/CheckerRefsIT.java
+++ b/javatests/com/google/gerrit/plugins/checks/acceptance/CheckerRefsIT.java
@@ -324,7 +324,7 @@
Change.Id changeId = Change.id(seq.nextChangeId());
ChangeInserter ins = changeInserterFactory.create(changeId, commit, targetRef);
- ins.setValidate(false);
+ ins.disableValidation();
ins.setMessage(String.format("Uploaded patch set %s.", ins.getPatchSetId().get()));
try (BatchUpdate bu =
updateFactory.create(project, identifiedUserFactory.create(admin.id()), TimeUtil.now())) {