diff --git a/src/test/java/com/feelmycode/parabole/controller/ProductControllerTest.java b/src/test/java/com/feelmycode/parabole/controller/ProductControllerTest.java index 8ab48f18..6d4e03b8 100644 --- a/src/test/java/com/feelmycode/parabole/controller/ProductControllerTest.java +++ b/src/test/java/com/feelmycode/parabole/controller/ProductControllerTest.java @@ -66,13 +66,13 @@ public void createProduct() throws Exception { Product product = new Product(1L, 1L, 1, 50L, "국밥", "https://img.url", "순대국밥", 2000L); this.mockMvc.perform(post("/api/v1/product") .content(String.valueOf(MediaType.APPLICATION_JSON)) - .content(this.objectMapper.writeValueAsString(product))) - .andExpect(status().isOk()) - .andDo(print()) - .andDo(document("product", - preprocessRequest(prettyPrint()), - preprocessResponse(prettyPrint())) - ); + .content(this.objectMapper.writeValueAsString(product))) + .andExpect(status().isOk()) + .andDo(print()) + .andDo(document("product", + preprocessRequest(prettyPrint()), + preprocessResponse(prettyPrint())) + ); } }