use of com.google.gerrit.acceptance.RestSession in project gerrit by GerritCodeReview.
the class ImpersonationIT method setUp.
@Before
public void setUp() throws Exception {
anonRestSession = new RestSession(server, null);
admin2 = accounts.admin2();
GroupInput gi = new GroupInput();
gi.name = name("New-Group");
gi.members = ImmutableList.of(user.id.toString());
newGroup = gApi.groups().create(gi).get();
}
Aggregations