Skip to content

Commit

Permalink
[TEST] 배너 삭제에 대한 given 절 적절하게 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sung-silver committed Jan 6, 2025
1 parent e4a6f09 commit 00dfdde
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ void getBannerDetail() throws Exception {
@DisplayName("(DELETE) Banner Delete")
void deleteBanner() throws Exception {
//given
bannerService.deleteBanner(MOCK_BANNER_ID);
BannerResponse.BannerDetail mockBannerDetail = bannerService.getBannerDetail(MOCK_BANNER_ID);
doNothing().when(bannerService).deleteBanner(MOCK_BANNER_ID);

this.mockMvc.perform(
//when
Expand Down

0 comments on commit 00dfdde

Please sign in to comment.