From 91def8be8f0358827f6f10ad420bcb85a549ac2b Mon Sep 17 00:00:00 2001 From: jjongwa Date: Thu, 27 Jul 2023 15:26:26 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20controllerTest=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../category/presentation/CategoryControllerTest.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/backend/src/test/java/hanglog/category/presentation/CategoryControllerTest.java b/backend/src/test/java/hanglog/category/presentation/CategoryControllerTest.java index baecff762..c8158070c 100644 --- a/backend/src/test/java/hanglog/category/presentation/CategoryControllerTest.java +++ b/backend/src/test/java/hanglog/category/presentation/CategoryControllerTest.java @@ -58,11 +58,7 @@ void getExpenseCategories() throws Exception { .type(JsonFieldType.NUMBER) .description("카테고리 ID") .attributes(field("constraint", "양의 정수")), - fieldWithPath("[].engName") - .type(JsonFieldType.STRING) - .description("카테고리 영문명") - .attributes(field("constraint", "50자 이하의 문자열")), - fieldWithPath("[].korName") + fieldWithPath("[].name") .type(JsonFieldType.STRING) .description("카테고리 한글명") .attributes(field("constraint", "50자 이하의 문자열"))