Skip to content

Commit

Permalink
[TEST] test 주석 컨벤션 통일
Browse files Browse the repository at this point in the history
  • Loading branch information
sung-silver committed Jan 3, 2025
1 parent f4f0320 commit 2d91cea
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,12 @@ void createNewBanner() throws Exception {
when(bannerService.createBanner(bannerCreate))
.thenReturn(givenBannerDetail);

// when & then
this.mockMvc.perform(post("/api/v1/banners")
this.mockMvc.perform(
// when
post("/api/v1/banners")
.contentType(APPLICATION_JSON)
.content(request))
// then
.andExpect(status().isCreated())
.andExpect(jsonPath("$.success").value("true"))
.andExpect(jsonPath("$.message").value(BannerSuccessCode.SUCCESS_CREATE_BANNER.getMessage()))
Expand Down

0 comments on commit 2d91cea

Please sign in to comment.