File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
auth/src/test/java/com/firebase/ui/auth/viewmodel Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -91,17 +91,15 @@ public void testSignInIdp_success() {
9191 .onChanged (argThat (ResourceMatchers .<IdpResponse >isSuccess ()));
9292 }
9393
94- @ Test
95- public void testSignInNonIdp_success () {
94+ @ Test ( expected = IllegalStateException . class )
95+ public void testSignInNonIdp_failure () {
9696 mHandler .getOperation ().observeForever (mResultObserver );
9797
9898 IdpResponse response = new IdpResponse .Builder (new User .Builder (
9999 EmailAuthProvider .PROVIDER_ID , TestConstants .EMAIL ).build ())
100100 .build ();
101101
102102 mHandler .startSignIn (response );
103-
104- verify (mResultObserver ).onChanged (argThat (ResourceMatchers .<IdpResponse >isSuccess ()));
105103 }
106104
107105 @ Test
You can’t perform that action at this time.
0 commit comments