Adapt to new TestAccount methods
Change-Id: I640331bd0d5e487104bf1e84d7f12da5e0b30311
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 a9493d5..c361731 100644
--- a/src/test/java/com/googlesource/gerrit/plugins/hideactions/HideActionsActionVisitorIT.java
+++ b/src/test/java/com/googlesource/gerrit/plugins/hideactions/HideActionsActionVisitorIT.java
@@ -55,7 +55,7 @@
private PushOneCommit.Result createANewChangeWithTopic() throws Exception {
return pushFactory
- .create(admin.getIdent(), testRepo, "a message", "a.txt", "content\n")
+ .create(admin.newIdent(), testRepo, "a message", "a.txt", "content\n")
.to("refs/for/master/" + name("topic"));
}
}