Skip to content

Commit 893065e

Browse files
committed
Fix test
1 parent 7dce545 commit 893065e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

firebase-crashlytics/src/androidTest/java/com/google/firebase/crashlytics/internal/settings/network/DefaultSettingsSpiCallTest.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,13 @@ public void testHandleResponse_requestNotSuccessful() throws IOException {
186186

187187
assertNull(defaultSettingsSpiCall.handleResponse(mockHttpResponse));
188188
verify(mockHttpResponse, never()).body();
189-
verify(mockLogger, times(1)).e(eq("Failed to retrieve settings from " + TEST_URL));
189+
verify(mockLogger, times(1))
190+
.e(
191+
eq(
192+
"Settings request failed; (status: "
193+
+ HttpURLConnection.HTTP_INTERNAL_ERROR
194+
+ ") from "
195+
+ TEST_URL));
190196
}
191197

192198
public void testRequestWasSuccessful_successfulStatusCodes() {

0 commit comments

Comments
 (0)