From efc05728eb4708ddc4b6b5868ce6fe3a96ec91a8 Mon Sep 17 00:00:00 2001 From: woody35545 Date: Thu, 13 Jun 2024 18:06:55 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20`CouponDetailServiceTest`=20-=20?= =?UTF-8?q?=EC=9E=98=EB=AA=BB=EB=90=9C=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EC=BC=80=EC=9D=B4=EC=8A=A4=20=EB=B9=84=ED=99=9C=EC=84=B1?= =?UTF-8?q?=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bookstoreapi/member/service/CouponDetailServiceTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/t3t/bookstoreapi/member/service/CouponDetailServiceTest.java b/src/test/java/com/t3t/bookstoreapi/member/service/CouponDetailServiceTest.java index 3e3a0433..be027569 100644 --- a/src/test/java/com/t3t/bookstoreapi/member/service/CouponDetailServiceTest.java +++ b/src/test/java/com/t3t/bookstoreapi/member/service/CouponDetailServiceTest.java @@ -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; @@ -19,7 +20,7 @@ @SpringBootTest @Transactional -@ActiveProfiles("prod") +@ActiveProfiles("test") public class CouponDetailServiceTest { @Autowired @@ -32,6 +33,7 @@ public class CouponDetailServiceTest { private CouponDetailService couponDetailService; @Test + @Disabled void getAllCouponByMemberId() { Long memberId = 1L; Member member = memberRepository.findById(memberId).orElse(null);