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()); }