use of com.google.gerrit.server.account.AccountManager in project gerrit by GerritCodeReview.
the class AccountManagerIT method readOnlyFullNameField_authenticateWithUsernameAndUpdateDisplayName.
@Test
public void readOnlyFullNameField_authenticateWithUsernameAndUpdateDisplayName() throws Exception {
TestRealm realm = server.getTestInjector().getInstance(TestRealm.class);
realm.denyEdit(AccountFieldName.FULL_NAME);
authenticateWithUsernameAndUpdateDisplayName(new AccountManager(sequences, cfg, accounts, Providers.of(accountsUpdate), accountCache, realm, userFactory, sshKeyCache, projectCache, externalIds, groupsUpdateFactory, setInactiveFlag, externalIdFactory, externalIdKeyFactory));
}
Aggregations