Skip to content

Commit b6ea71e

Browse files
committed
Fix format
1 parent aba3014 commit b6ea71e

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

datamodel/odata-client/src/test/java/com/sap/cloud/sdk/datamodel/odata/client/request/ODataHealthyResponseValidatorTest.java

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,10 @@ void testODataError()
8888

8989
@Getter
9090
private final HttpResponse httpResponse =
91-
new BasicHttpResponse(
92-
HttpVersion.HTTP_1_1,
93-
HttpStatus.SC_INTERNAL_SERVER_ERROR,
94-
"Internal Server Error")
95-
{
96-
{
97-
setEntity(new StringEntity(odata_error_json, StandardCharsets.UTF_8));
98-
}
99-
};
91+
new BasicHttpResponse(HttpVersion.HTTP_1_1, HttpStatus.SC_INTERNAL_SERVER_ERROR, "Oh!");
92+
{
93+
httpResponse.setEntity(new StringEntity(odata_error_json, StandardCharsets.UTF_8));
94+
}
10095
};
10196

10297
assertThatExceptionOfType(ODataServiceErrorException.class)

0 commit comments

Comments
 (0)