}
@Test
@Ignore
public void testDisableAccount() throws Exception {
Account account = applicationManager.getUserService().getAccount(testAccount.getId());
assertFalse(account.getConfigValue(Account.ConfigKey.ACCOUNT_LOCKED));
String url = getUrl() + "/" + testUser.getAccount().getId() + "/disable/";
makeRequest(url, "PUT", null, authToken);
account = applicationManager.getUserService().getAccount(testAccount.getId());
assertTrue(account.getConfigValue(Account.ConfigKey.ACCOUNT_LOCKED));
url = getUrl() + "/" + testUser.getAccount().getId() + "/enable/";
makeRequest(url, "PUT", null, authToken);
account = applicationManager.getUserService().getAccount(testAccount.getId());
assertFalse(account.getConfigValue(Account.ConfigKey.ACCOUNT_LOCKED));
}