commit | 4ed100fe1a59740d2741c2fe6b659e096d7a5c36 | [log] [tgz] |
---|---|---|
author | Gal Paikin <paiking@google.com> | Fri Dec 13 12:38:12 2019 +0100 |
committer | Gal Paikin <paiking@google.com> | Fri Dec 13 12:38:12 2019 +0100 |
tree | 41cdf7a45cd58eac1f3f64536ed6cbd7e5e93c7b | |
parent | 0d9fe13536820a45b64d5c66a69b93104963aa61 [diff] |
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")); } }