Skip to content

Commit

Permalink
fix: CouponDetailServiceTest - 잘못된 테스트 케이스 비활성화
Browse files Browse the repository at this point in the history
  • Loading branch information
woody35545 committed Jun 13, 2024
1 parent f075c92 commit efc0572
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.t3t.bookstoreapi.member.model.response.CouponDetailResponse;
import com.t3t.bookstoreapi.member.repository.CouponDetailRepository;
import com.t3t.bookstoreapi.member.repository.MemberRepository;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
Expand All @@ -19,7 +20,7 @@

@SpringBootTest
@Transactional
@ActiveProfiles("prod")
@ActiveProfiles("test")
public class CouponDetailServiceTest {

@Autowired
Expand All @@ -32,6 +33,7 @@ public class CouponDetailServiceTest {
private CouponDetailService couponDetailService;

@Test
@Disabled
void getAllCouponByMemberId() {
Long memberId = 1L;
Member member = memberRepository.findById(memberId).orElse(null);
Expand Down

0 comments on commit efc0572

Please sign in to comment.