From 9c4b04b865c57ad6c1ca7bdd51848a35688d31e6 Mon Sep 17 00:00:00 2001 From: lowgiant Date: Mon, 14 Feb 2022 11:29:30 +0900 Subject: [PATCH] test: Add Farm Content [#355] --- .../domain/sub/farm/controller/FarmControllerTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring/src/test/java/com/bancow/bancowback/domain/sub/farm/controller/FarmControllerTest.java b/spring/src/test/java/com/bancow/bancowback/domain/sub/farm/controller/FarmControllerTest.java index 026ba34b..19b8bf36 100644 --- a/spring/src/test/java/com/bancow/bancowback/domain/sub/farm/controller/FarmControllerTest.java +++ b/spring/src/test/java/com/bancow/bancowback/domain/sub/farm/controller/FarmControllerTest.java @@ -84,6 +84,7 @@ void getFarmDistribute() throws Exception { fieldWithPath("data").description("결과 데이터"), fieldWithPath("data[0].id").description("id"), fieldWithPath("data[0].title").description("제목"), + fieldWithPath("data[0].content").description("내용"), fieldWithPath("data[0].farm_name").description("농장 이름"), fieldWithPath("data[0].ceo_name").description("농장 대표님"), fieldWithPath("data[0].farm_ceo_image").description("대표님 사진"), @@ -118,9 +119,9 @@ void getFarmDetail() throws Exception { fieldWithPath("data").description("결과 데이터"), fieldWithPath("data.id").description("id (pk)"), fieldWithPath("data.title").description("제목"), + fieldWithPath("data.content").description("농장 내용"), fieldWithPath("data.farm_name").description("농장 이름"), fieldWithPath("data.ceo_name").description("대표님 이름"), - fieldWithPath("data.ceo_name").description("대표님 이름"), fieldWithPath("data.farm_image").description("농장 사진"), fieldWithPath("data.farm_ceo_image").description("대표님 사진"), fieldWithPath("data.status").description("게시여부"),