|
@@ -84,13 +84,13 @@ public abstract class AbstractIT {
|
|
|
platformAccountManager.removeAccountExplicitly(account);
|
|
|
}
|
|
|
|
|
|
- Account temp = new Account("test@server.com", MainApp.getAccountType(targetContext));
|
|
|
+ Account temp = new Account("test@https://server.com", MainApp.getAccountType(targetContext));
|
|
|
platformAccountManager.addAccountExplicitly(temp, "password", null);
|
|
|
platformAccountManager.setUserData(temp, AccountUtils.Constants.KEY_OC_BASE_URL, "https://server.com");
|
|
|
platformAccountManager.setUserData(temp, AccountUtils.Constants.KEY_USER_ID, "test");
|
|
|
|
|
|
final UserAccountManager userAccountManager = UserAccountManagerImpl.fromContext(targetContext);
|
|
|
- account = userAccountManager.getAccountByName("test@server.com");
|
|
|
+ account = userAccountManager.getAccountByName("test@https://server.com");
|
|
|
|
|
|
if (account == null) {
|
|
|
throw new ActivityNotFoundException();
|