Adapt to rename in Gerrit core
Change Icc3077b484 in Gerrit core renamed the 'accounts' variable in
AbstractDaemonTest to 'accountCreator'.
Change-Id: I758b48d183317e9534557311d4736054d3e5c356
Signed-off-by: Edwin Kempin <ekempin@google.com>
diff --git a/src/test/java/com/googlesource/gerrit/plugins/findowners/FindOwnersIT.java b/src/test/java/com/googlesource/gerrit/plugins/findowners/FindOwnersIT.java
index 2e841e8..22d932a 100644
--- a/src/test/java/com/googlesource/gerrit/plugins/findowners/FindOwnersIT.java
+++ b/src/test/java/com/googlesource/gerrit/plugins/findowners/FindOwnersIT.java
@@ -172,7 +172,7 @@
public void accountTest() throws Exception {
String[] myTestEmails = {"abc@g.com", "abc+xyz@g.com", "xyz@g.com"};
for (String email : myTestEmails) {
- Account.Id id = accounts.create("User" + email, email, "FullName" + email).getId();
+ Account.Id id = accountCreator.create("User" + email, email, "FullName" + email).getId();
// Action.getReviewers uses accountCache to get email address.
assertThat(accountCache.get(id).getAccount().getPreferredEmail()).isEqualTo(email);
// Checker.getVotes uses AccountAccess to get email address.