Skip to content

Commit

Permalink
Merge pull request #75 from nhnacademy-be4-ckin/develop
Browse files Browse the repository at this point in the history
배포
  • Loading branch information
nueag authored Mar 23, 2024
2 parents a80fcd7 + 4ccb9d4 commit a82d0bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ void testCreateCoupon() {
@Test
@DisplayName("쿠폰 생성 테스트 : 템플릿 타입이 없는 경우")
void testCreateCoupon_X() {
when(couponTemplateTypeRepository.existsById(anyLong())).thenReturn(false);
when(couponTemplateRepository.existsById(anyLong())).thenReturn(false);

Assertions.assertThrows(CouponTemplateTypeNotFoundException.class,
Assertions.assertThrows(CouponTemplateNotFoundException.class,
() -> couponService.createCoupon(couponRequestDto));
}

Expand Down

0 comments on commit a82d0bc

Please sign in to comment.