Skip to content

Commit 5dcf294

Browse files
committed
Update missing auth token test.
1 parent df620df commit 5dcf294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-config/src/test/java/com/google/firebase/remoteconfig/internal/ConfigFetchHandlerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public void fetch_firstFetch_includesInstallationAuthToken() throws Exception {
200200

201201
@Test
202202
public void fetch_failToGetInstallationAuthToken_throwsRemoteConfigException() throws Exception {
203-
when(mockFirebaseInstallations.getId())
203+
when(mockFirebaseInstallations.getToken(false))
204204
.thenReturn(Tasks.forException(new IOException("SERVICE_NOT_AVAILABLE")));
205205
fetchCallToHttpClientReturnsConfigWithCurrentTime(firstFetchedContainer);
206206

0 commit comments

Comments
 (0)