File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
firebase-config/src/test/java/com/google/firebase/remoteconfig Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1568,11 +1568,10 @@ public void realtime_stream_listen_get_inputstream_fail() throws Exception {
15681568
15691569 @ Test
15701570 public void realtime_stream_listen_get_inputstream_exception_handling () throws Exception {
1571- ConfigAutoFetch configAutoFetchSpy = spy (configAutoFetch );
15721571 InputStream inputStream = mock (InputStream .class );
15731572 when (mockHttpURLConnection .getResponseCode ()).thenReturn (200 );
15741573 when (mockHttpURLConnection .getInputStream ()).thenThrow (IOException .class );
1575- configAutoFetchSpy .listenForNotifications ();
1574+ configAutoFetch .listenForNotifications ();
15761575
15771576 verify (mockHttpURLConnection , times (1 )).getInputStream ();
15781577 verify (inputStream , never ()).close ();
You can’t perform that action at this time.
0 commit comments