File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
auth/src/test/java/com/firebase/ui/auth/ui Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,9 @@ public void testAutoSignInWithSavedUsernameAndPassword_signsIn() {
81
81
Intent startIntent = createStartIntent ();
82
82
ChooseAccountActivity chooseAccountActivity =
83
83
Robolectric .buildActivity (ChooseAccountActivity .class )
84
- .withIntent (createStartIntent ()).create ().get ();
84
+ .withIntent (startIntent )
85
+ .create ()
86
+ .get ();
85
87
86
88
when (mCredentialsAPI .getEmailFromCredential ()).thenReturn (TestConstants .EMAIL );
87
89
when (mCredentialsAPI .getPasswordFromCredential ()).thenReturn (TestConstants .PASSWORD );
@@ -113,7 +115,10 @@ public void testAutoSignInWithSavedIdp_redirectsToIdpSignIn() {
113
115
Intent startIntent = createStartIntent ();
114
116
ChooseAccountActivity chooseAccountActivity =
115
117
Robolectric .buildActivity (ChooseAccountActivity .class )
116
- .withIntent (startIntent ).create ().get ();
118
+ .withIntent (startIntent )
119
+ .create ()
120
+ .get ();
121
+
117
122
when (mCredentialsAPI .getEmailFromCredential ()).thenReturn (TestConstants .EMAIL );
118
123
when (mCredentialsAPI .getPasswordFromCredential ()).thenReturn (null );
119
124
when (mCredentialsAPI .getAccountTypeFromCredential ()).thenReturn (
You can’t perform that action at this time.
0 commit comments