Skip to content

Commit 4e78c11

Browse files
committed
test: fix assertion for okhttp3 5 non-null body
1 parent 0104346 commit 4e78c11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/common/src/test/java/com/ibm/cloud/cloudant/internal/ErrorTransformInterceptorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ void runTest(Interceptor interceptor) throws IOException {
340340
} else {
341341
// If we aren't asserting a specific part of augment check the body is unchanged
342342
if ("HEAD" == r.request().method()) {
343-
assertNull(r.body());
343+
assertEquals(r.body(), ResponseBody.EMPTY);
344344
} else {
345345
assertEquals(r.body().string(), responseBody);
346346
}

0 commit comments

Comments
 (0)