From 51252e0ad978f28a42506e356b0fa115c23faf68 Mon Sep 17 00:00:00 2001 From: kimsuyeondev Date: Wed, 22 May 2024 03:51:50 +0900 Subject: [PATCH] =?UTF-8?q?#30=20=ED=85=8C=EC=8A=A4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/cosmetics/goods/GoodsApiApplicationTest.java | 4 ++-- .../java/com/cosmetics/vendor/VendorApiApplicationTest.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/module-api/src/test/java/com/cosmetics/goods/GoodsApiApplicationTest.java b/module-api/src/test/java/com/cosmetics/goods/GoodsApiApplicationTest.java index 6cc1007..16c64ce 100644 --- a/module-api/src/test/java/com/cosmetics/goods/GoodsApiApplicationTest.java +++ b/module-api/src/test/java/com/cosmetics/goods/GoodsApiApplicationTest.java @@ -24,7 +24,7 @@ @TestMethodOrder(MethodOrderer.OrderAnnotation.class) @Slf4j public class GoodsApiApplicationTest { - /* @LocalServerPort + @LocalServerPort private int port; @Autowired @@ -103,5 +103,5 @@ public void illegalGoodsTest() throws Exception { assertThat(responseEntity.getStatusCode()).isEqualTo(HttpStatus.BAD_REQUEST); assertThat(jsonPath("errorCode").value("INVALID_PARAMETER")); assertThat(jsonPath("errorMessage").value("존재하지 않는 상품입니다")); - }*/ + } } diff --git a/module-api/src/test/java/com/cosmetics/vendor/VendorApiApplicationTest.java b/module-api/src/test/java/com/cosmetics/vendor/VendorApiApplicationTest.java index 0c3a823..fdd8be0 100644 --- a/module-api/src/test/java/com/cosmetics/vendor/VendorApiApplicationTest.java +++ b/module-api/src/test/java/com/cosmetics/vendor/VendorApiApplicationTest.java @@ -1,7 +1,6 @@ package com.cosmetics.vendor; import com.cosmetics.domain.vendor.dto.VendorManagement; -import com.fasterxml.jackson.databind.ObjectMapper; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.*; import org.springframework.beans.factory.annotation.Autowired;