From a214c000fdf41f576792b2b8adb5772ed53313ca Mon Sep 17 00:00:00 2001 From: Jeong Wonju Date: Thu, 2 Jan 2025 13:43:17 +0900 Subject: [PATCH] =?UTF-8?q?MATE-140=20:=20=EC=97=B0=EB=8F=84=EA=B0=80=20?= =?UTF-8?q?=EB=B0=94=EB=80=8C=EC=96=B4=20=EC=98=A4=EB=A5=98=EB=82=AC?= =?UTF-8?q?=EB=8D=98=20=EC=9E=90=EC=B2=B4=20=ED=9A=8C=EC=9B=90=20=EA=B0=80?= =?UTF-8?q?=EC=9E=85=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20(#120)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * MATE-140 : [REFACTOR] 해가 바뀌어 오류가 생긴 자체 회원 가입 테스트의 나이 검증 코드 수정 * MATE-140 : [REFACTOR] deploy.yml를 on push: develop으로 수정 --- .../mate/domain/member/integration/MemberIntegrationTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/example/mate/domain/member/integration/MemberIntegrationTest.java b/src/test/java/com/example/mate/domain/member/integration/MemberIntegrationTest.java index 8e2411e4..06a3ac5a 100644 --- a/src/test/java/com/example/mate/domain/member/integration/MemberIntegrationTest.java +++ b/src/test/java/com/example/mate/domain/member/integration/MemberIntegrationTest.java @@ -8,9 +8,9 @@ import com.example.mate.domain.goodsPost.dto.response.LocationInfo; import com.example.mate.domain.goodsPost.entity.Category; import com.example.mate.domain.goodsPost.entity.GoodsPost; -import com.example.mate.domain.goodsReview.entity.GoodsReview; import com.example.mate.domain.goodsPost.entity.Status; import com.example.mate.domain.goodsPost.repository.GoodsPostRepository; +import com.example.mate.domain.goodsReview.entity.GoodsReview; import com.example.mate.domain.goodsReview.repository.GoodsReviewRepository; import com.example.mate.domain.match.entity.Match; import com.example.mate.domain.match.repository.MatchRepository; @@ -297,7 +297,7 @@ void join_success() throws Exception { .andExpect(jsonPath("$.status").value("SUCCESS")) .andExpect(jsonPath("$.data.name").value("이철수")) .andExpect(jsonPath("$.data.email").value("tester3@example.com")) - .andExpect(jsonPath("$.data.age").value(22)) + .andExpect(jsonPath("$.data.age").value(LocalDateTime.now().getYear() - 2002)) .andExpect(jsonPath("$.data.nickname").value("tester3")) .andDo(print()); }