Use non-deprecated push with topic It seems that the push that was used in this test was deprecated. I used the current method that is supported. Change-Id: I253a11ddd2b1e5e9d2287d54e2027b42ee7a74f7
diff --git a/src/test/java/com/googlesource/gerrit/plugins/hideactions/HideActionsActionVisitorIT.java b/src/test/java/com/googlesource/gerrit/plugins/hideactions/HideActionsActionVisitorIT.java index f464963..3cf00f8 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/hideactions/HideActionsActionVisitorIT.java +++ b/src/test/java/com/googlesource/gerrit/plugins/hideactions/HideActionsActionVisitorIT.java
@@ -54,6 +54,6 @@ private PushOneCommit.Result createANewChangeWithTopic() throws Exception { return pushFactory .create(admin.newIdent(), testRepo, "a message", "a.txt", "content\n") - .to("refs/for/master/" + name("topic")); + .to("refs/for/master" + "%topic=" + name("topic")); } }