From 237429d2040251f9f9b4519c9da4329c32f8b6a7 Mon Sep 17 00:00:00 2001 From: Hyeon-Uk Date: Thu, 22 Aug 2024 22:03:46 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EC=9D=B4?= =?UTF-8?q?=ED=9B=84=20=EB=8D=B0=EC=9D=B4=ED=84=B0=EB=A5=BC=20=EB=A1=A4?= =?UTF-8?q?=EB=B0=B1=EC=8B=9C=ED=82=A4=EA=B8=B0=20=EC=9C=84=ED=95=B4=20@Tr?= =?UTF-8?q?ansactional=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/camp/woowak/lab/web/dao/cart/RedisCartDaoTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/camp/woowak/lab/web/dao/cart/RedisCartDaoTest.java b/src/test/java/camp/woowak/lab/web/dao/cart/RedisCartDaoTest.java index 31102761..6ca175c2 100644 --- a/src/test/java/camp/woowak/lab/web/dao/cart/RedisCartDaoTest.java +++ b/src/test/java/camp/woowak/lab/web/dao/cart/RedisCartDaoTest.java @@ -9,6 +9,7 @@ import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.transaction.annotation.Transactional; import camp.woowak.lab.cart.domain.Cart; import camp.woowak.lab.cart.repository.CartRepository; @@ -28,6 +29,7 @@ import camp.woowak.lab.web.dto.response.CartResponse; @SpringBootTest +@Transactional class RedisCartDaoTest extends StoreDummiesFixture { private final CartRepository cartRepository; @Autowired