We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9f6960 commit 67b8035Copy full SHA for 67b8035
integration-tests/src/main/java/com/github/mobile/tests/tests/user/LoginActivityTest.java
@@ -15,9 +15,11 @@
15
*/
16
package com.github.mobile.tests.tests.user;
17
18
+import android.accounts.AccountManager;
19
import android.view.View;
20
import android.widget.EditText;
21
22
+import com.github.mobile.accounts.AccountUtils;
23
import com.github.mobile.accounts.LoginActivity;
24
import com.github.mobile.tests.ActivityTest;
25
import com.viewpagerindicator.R.id;
@@ -34,6 +36,14 @@ public LoginActivityTest() {
34
36
super(LoginActivity.class);
35
37
}
38
39
+ /**
40
+ * Verify authenticator is registered
41
+ */
42
+ public void testHasAuthenticator() {
43
+ assertTrue(AccountUtils.hasAuthenticator(AccountManager
44
+ .get(getActivity())));
45
+ }
46
+
47
/**
48
* Verify activity was created successfully
49
*
0 commit comments