Skip to content

Commit

Permalink
MATE-140 : 연도가 바뀌어 오류났던 자체 회원 가입 테스트 코드 수정 (#120)
Browse files Browse the repository at this point in the history
* MATE-140 : [REFACTOR] 해가 바뀌어 오류가 생긴 자체 회원 가입 테스트의 나이 검증 코드 수정

* MATE-140 : [REFACTOR] deploy.yml를 on push: develop으로 수정
  • Loading branch information
jooinjoo authored Jan 2, 2025
1 parent cbd19a1 commit a214c00
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -297,7 +297,7 @@ void join_success() throws Exception {
.andExpect(jsonPath("$.status").value("SUCCESS"))
.andExpect(jsonPath("$.data.name").value("이철수"))
.andExpect(jsonPath("$.data.email").value("[email protected]"))
.andExpect(jsonPath("$.data.age").value(22))
.andExpect(jsonPath("$.data.age").value(LocalDateTime.now().getYear() - 2002))
.andExpect(jsonPath("$.data.nickname").value("tester3"))
.andDo(print());
}
Expand Down

0 comments on commit a214c00

Please sign in to comment.