diff options
author | David Pursehouse <dpursehouse@digital.ai> | 2020-06-06 15:19:02 +0900 |
---|---|---|
committer | David Pursehouse <dpursehouse@digital.ai> | 2020-06-06 15:20:41 +0900 |
commit | d962d1240a88daf0cd50b40029e8b575b14e8d1f (patch) | |
tree | 62e2cce695084d555badd9cc772dcd85bf34d130 | |
parent | 856b19fe857d430e0aa16587a93114b08f2ff376 (diff) |
AccountIT#accountIdApi: Get account API with id rather than name
On later branches, getting the account API with anything other than
the id fails.
Change-Id: If02dcf0f9268994b74d50256992ede8460d6c5e9
-rw-r--r-- | javatests/com/google/gerrit/acceptance/api/accounts/AccountIT.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javatests/com/google/gerrit/acceptance/api/accounts/AccountIT.java b/javatests/com/google/gerrit/acceptance/api/accounts/AccountIT.java index 046365fb44..23fc1c0e75 100644 --- a/javatests/com/google/gerrit/acceptance/api/accounts/AccountIT.java +++ b/javatests/com/google/gerrit/acceptance/api/accounts/AccountIT.java @@ -3418,7 +3418,7 @@ public class AccountIT extends AbstractDaemonTest { } private AccountApi accountIdApi() throws RestApiException { - return gApi.accounts().id("user"); + return gApi.accounts().id(user.id.get()); } private Set<String> getCookiesNames() { |