|
52 | 52 | import com.salesforce.androidsdk.mobilesync.util.MobileSyncLogger; |
53 | 53 | import com.salesforce.androidsdk.rest.ApiVersionStrings; |
54 | 54 | import com.salesforce.androidsdk.rest.ClientManager; |
55 | | -import com.salesforce.androidsdk.rest.ClientManager.LoginOptions; |
56 | 55 | import com.salesforce.androidsdk.rest.RestClient; |
57 | 56 | import com.salesforce.androidsdk.rest.RestClient.ClientInfo; |
58 | 57 | import com.salesforce.androidsdk.rest.RestRequest; |
@@ -110,10 +109,11 @@ public void setUp() throws Exception { |
110 | 109 | if (MobileSyncSDKManager.getInstance() == null) { |
111 | 110 | eq.waitForEvent(EventType.AppCreateComplete, 5000); |
112 | 111 | } |
113 | | - final LoginOptions loginOptions = new LoginOptions(LOGIN_URL, |
114 | | - TEST_CALLBACK_URL, CLIENT_ID, TEST_SCOPES); |
115 | | - final ClientManager clientManager = new ClientManager(targetContext, |
116 | | - TestCredentials.ACCOUNT_TYPE, loginOptions, true); |
| 112 | + final ClientManager clientManager = new ClientManager( |
| 113 | + targetContext, |
| 114 | + TestCredentials.ACCOUNT_TYPE, |
| 115 | + true |
| 116 | + ); |
117 | 117 | clientManager.createNewAccount(ACCOUNT_NAME, |
118 | 118 | USERNAME, TestCredentials.REFRESH_TOKEN, |
119 | 119 | TEST_AUTH_TOKEN, INSTANCE_URL, |
|
0 commit comments