diff --git a/backend/src/test/java/com/mapbefine/mapbefine/history/application/PinHistoryCommandServiceTest.java b/backend/src/test/java/com/mapbefine/mapbefine/history/application/PinHistoryCommandServiceTest.java index 703acc65e..a1348174e 100644 --- a/backend/src/test/java/com/mapbefine/mapbefine/history/application/PinHistoryCommandServiceTest.java +++ b/backend/src/test/java/com/mapbefine/mapbefine/history/application/PinHistoryCommandServiceTest.java @@ -2,6 +2,7 @@ import static org.assertj.core.api.Assertions.assertThat; +import com.mapbefine.mapbefine.TestDatabaseContainer; import com.mapbefine.mapbefine.common.annotation.ServiceTest; import com.mapbefine.mapbefine.history.domain.PinHistory; import com.mapbefine.mapbefine.history.domain.PinHistoryRepository; @@ -27,7 +28,7 @@ import org.springframework.context.ApplicationEventPublisher; @ServiceTest -class PinHistoryCommandServiceTest { +class PinHistoryCommandServiceTest extends TestDatabaseContainer { @Autowired private PinHistoryRepository pinHistoryRepository;