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() {
8181 Intent startIntent = createStartIntent ();
8282 ChooseAccountActivity chooseAccountActivity =
8383 Robolectric .buildActivity (ChooseAccountActivity .class )
84- .withIntent (createStartIntent ()).create ().get ();
84+ .withIntent (startIntent )
85+ .create ()
86+ .get ();
8587
8688 when (mCredentialsAPI .getEmailFromCredential ()).thenReturn (TestConstants .EMAIL );
8789 when (mCredentialsAPI .getPasswordFromCredential ()).thenReturn (TestConstants .PASSWORD );
@@ -113,7 +115,10 @@ public void testAutoSignInWithSavedIdp_redirectsToIdpSignIn() {
113115 Intent startIntent = createStartIntent ();
114116 ChooseAccountActivity chooseAccountActivity =
115117 Robolectric .buildActivity (ChooseAccountActivity .class )
116- .withIntent (startIntent ).create ().get ();
118+ .withIntent (startIntent )
119+ .create ()
120+ .get ();
121+
117122 when (mCredentialsAPI .getEmailFromCredential ()).thenReturn (TestConstants .EMAIL );
118123 when (mCredentialsAPI .getPasswordFromCredential ()).thenReturn (null );
119124 when (mCredentialsAPI .getAccountTypeFromCredential ()).thenReturn (
You can’t perform that action at this time.
0 commit comments