-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MATE-140 : 연도가 바뀌어 오류났던 자체 회원 가입 테스트 코드 수정 (#120)
* MATE-140 : [REFACTOR] 해가 바뀌어 오류가 생긴 자체 회원 가입 테스트의 나이 검증 코드 수정 * MATE-140 : [REFACTOR] deploy.yml를 on push: develop으로 수정
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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("[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()); | ||
} | ||
|