Fix build
Some of the modifications that were done by change I9b8bba50d to adapt
the plugin to change I1dd37821a in core only work when change I1dd37821a
is submitted. Revert these modifications. As follow-up then redo them
and submit them together with change I1dd37821a.
Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Ice3ec65af6f382750240fb64305b3330ac7df851
diff --git a/javatests/com/google/gerrit/plugins/checks/acceptance/api/GetCheckerIT.java b/javatests/com/google/gerrit/plugins/checks/acceptance/api/GetCheckerIT.java
index cb3f695..84463c6 100644
--- a/javatests/com/google/gerrit/plugins/checks/acceptance/api/GetCheckerIT.java
+++ b/javatests/com/google/gerrit/plugins/checks/acceptance/api/GetCheckerIT.java
@@ -310,7 +310,7 @@
@Test
public void administrateCheckersCapabilityIsAdvertised() throws Exception {
- Map<String, CapabilityInfo> capabilities = listCapabilities.apply(new ConfigResource()).value();
+ Map<String, CapabilityInfo> capabilities = listCapabilities.apply(new ConfigResource());
String capability = "checks-administrateCheckers";
assertThat(capabilities).containsKey(capability);
CapabilityInfo info = capabilities.get(capability);