Skip to content

Commit 86f89b4

Browse files
committed
Cleaned up test
Signed-off-by: Shubham Kalloli <[email protected]>
1 parent d119d21 commit 86f89b4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

modules/openapi-generator-online/src/test/java/org/openapitools/codegen/online/api/GenApiControllerTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
1818
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
19-
import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print;
2019
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
2120

2221
@ExtendWith(SpringExtension.class)
@@ -90,7 +89,6 @@ private void generateAndDownload(String type, String name) throws Exception {
9089
String result = mockMvc.perform(post("http://test.com:1234/api/gen/" + type + "/" + name)
9190
.contentType(MediaType.APPLICATION_JSON)
9291
.content("{\"openAPIUrl\": \"" + OPENAPI_URL + "\"}"))
93-
.andDo(print())
9492
.andExpect(status().isOk())
9593
.andExpect(content().contentType(MediaType.APPLICATION_JSON))
9694
.andExpect(jsonPath("$.code").value(matchesPattern(UUID_REGEX)))

0 commit comments

Comments
 (0)