Rename a conflict method in HideActionsActionVisitorIT Change-Id: I500f6384d0670d466cfbbdfb626206617f9ebf3f
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 b80234d..d1f2740 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/hideactions/HideActionsActionVisitorIT.java +++ b/src/test/java/com/googlesource/gerrit/plugins/hideactions/HideActionsActionVisitorIT.java
@@ -33,7 +33,7 @@ @Test public void defaultActions() throws Exception { - PushOneCommit.Result r = createChangeWithTopic(); + PushOneCommit.Result r = createANewChangeWithTopic(); r.assertOkStatus(); Map<String, ActionInfo> actions = getActions(r.getChangeId()); assertThat(actions).hasSize(3); @@ -46,14 +46,14 @@ values = {"rebase", "cherrypick"} ) public void removedAction() throws Exception { - PushOneCommit.Result r = createChangeWithTopic(); + PushOneCommit.Result r = createANewChangeWithTopic(); r.assertOkStatus(); Map<String, ActionInfo> actions = getActions(r.getChangeId()); assertThat(actions).hasSize(1); assertThat(actions.keySet()).containsExactly("description"); } - private PushOneCommit.Result createChangeWithTopic() throws Exception { + private PushOneCommit.Result createANewChangeWithTopic() throws Exception { return pushFactory .create(db, admin.getIdent(), testRepo, "a message", "a.txt", "content\n") .to("refs/for/master/" + name("topic"));