Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
fix: fix checkstyle
Browse files Browse the repository at this point in the history
Change-Id: I18be2a5c1d46ac9838cf4a15ab87dcf331ee26ee
  • Loading branch information
aribray committed May 19, 2022
1 parent a4f5703 commit de25f12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ public void service(HttpRequest request, HttpResponse response) throws Exception
responseObject =
parser
.parse(
"{\"page_info\":{\"form_info\":{\"parameter_info\":[{\"display_name\":\"order-number\",\"required\":\"true\",\"state\":\"VALID\"}]}}}")
"{\"page_info\":{\"form_info\":{\"parameter_info\":
[{\"display_name\":\"order-number\",\"required\":\"true\",\"state\":\"VALID\"}]}}}")
.getAsJsonObject();
BufferedWriter writer = response.getWriter();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ public void helloHttp_bodyParamsPost() throws IOException, Exception {
new ConfigureWebhookToSetFormParametersAsOptionalOrRequired().service(request, response);
writerOut.flush();

String expectedResponse = "{\"page_info\":{\"form_info\":{\"parameter_info\":[{\"display_name\":\"order-number\",\"required\":\"true\",\"state\":\"VALID\"}]}}}";
String expectedResponse = "{\"page_info\":{\"form_info\":{\"parameter_info\":
[{\"display_name\":\"order-number\",\"required\":\"true\",\"state\":\"VALID\"}]}}}";

assertThat(responseOut.toString()).isEqualTo(expectedResponse);
}
Expand Down

0 comments on commit de25f12

Please sign in to comment.