Skip to content

Commit

Permalink
fix: 테스트 코드 수정, dev 환경 서버에서 카카오 로그인 시 리다이렉트 url 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbonai06 committed Aug 10, 2022
1 parent 037108b commit a151771
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1807,7 +1807,7 @@ public void testIfGetListChallengeChallengeIsFailureTest() {
middleProgress,
AbstractTimestamp.class,
"createdAt",
Timestamp.valueOf(LocalDateTime.now().minusDays(24)),
Timestamp.valueOf(LocalDateTime.now().minusDays(35)),
Timestamp.class
);

Expand Down Expand Up @@ -2437,8 +2437,6 @@ public void testIfUpdateChallengeStatusIsSuccess() {

//then

newChallenge.setStatus(2L);
newChallenge1.setStatus(0L);
newChallenge1.setComment(newComment);
ChallengeDTO successChallengeDTO = new ChallengeDTO(newChallenge, progressDTOList, null);
ChallengeDTO falseChallengeDTO = new ChallengeDTO(newChallenge1, null, newComment);
Expand Down Expand Up @@ -3051,8 +3049,9 @@ public void testIfReadKidWeekInfo() {

//then
WeekDTO weekDTO1 = new WeekDTO(newChallenge.getWeekPrice(), newChallenge.getWeekPrice());
KidWeekDTO kidWeekDTO = new KidWeekDTO(sonKid, weekDTO1);

Assertions.assertEquals(weekDTO1, result.getData());
Assertions.assertEquals(kidWeekDTO, result.getData());
}

@Test
Expand Down

0 comments on commit a151771

Please sign in to comment.