use of com.google.gerrit.server.account.AuthRequest in project gerrit by GerritCodeReview.
the class GerritPublicKeyCheckerTest method addUser.
private IdentifiedUser addUser(String name) throws Exception {
AuthRequest req = authRequestFactory.createForUser(name);
Account.Id id = accountManager.authenticate(req).getAccountId();
return userFactory.create(id);
}
Aggregations