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() {
91
91
.onChanged (argThat (ResourceMatchers .<IdpResponse >isSuccess ()));
92
92
}
93
93
94
- @ Test
95
- public void testSignInNonIdp_success () {
94
+ @ Test ( expected = IllegalStateException . class )
95
+ public void testSignInNonIdp_failure () {
96
96
mHandler .getOperation ().observeForever (mResultObserver );
97
97
98
98
IdpResponse response = new IdpResponse .Builder (new User .Builder (
99
99
EmailAuthProvider .PROVIDER_ID , TestConstants .EMAIL ).build ())
100
100
.build ();
101
101
102
102
mHandler .startSignIn (response );
103
-
104
- verify (mResultObserver ).onChanged (argThat (ResourceMatchers .<IdpResponse >isSuccess ()));
105
103
}
106
104
107
105
@ Test
You can’t perform that action at this time.
0 commit comments