Skip to content

Commit

Permalink
RAC-277 test : 기존 테스트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 committed Jan 10, 2024
1 parent 2abb265 commit decc2f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ void getSeniorDone() {
Mentoring mentoring2 = new Mentoring(2L, user, senior, "A", "b", "a", 40, WAITING, LocalDateTime.now(), LocalDateTime.now());
Mentoring mentoring3 = new Mentoring(3L, user, senior, "A", "b", "a", 40, WAITING, LocalDateTime.now(), LocalDateTime.now());
List<Mentoring> mentorings = List.of(mentoring1, mentoring2, mentoring3);
Payment payment1 = new Payment(1l, mentoring1, salary, 10000, "1", "1", LocalDateTime.now(), LocalDateTime.now(), Status.DONE);
Payment payment2 = new Payment(2l, mentoring2, salary, 10000, "1", "1", LocalDateTime.now(), LocalDateTime.now(), Status.DONE);
Payment payment3 = new Payment(3l, mentoring3, salary, 10000, "1", "1", LocalDateTime.now(), LocalDateTime.now(), Status.DONE);
Payment payment1 = new Payment(1l, mentoring1, salary, 10000, "1", "1", "a", LocalDateTime.now(), LocalDateTime.now(), Status.DONE);
Payment payment2 = new Payment(2l, mentoring2, salary, 10000, "1", "1", "a", LocalDateTime.now(), LocalDateTime.now(), Status.DONE);
Payment payment3 = new Payment(3l, mentoring3, salary, 10000, "1", "1", "a", LocalDateTime.now(), LocalDateTime.now(), Status.DONE);
DoneSeniorMentoringInfo done1 = MentoringMapper.mapToSeniorDoneInfo(mentoring1, payment1);
DoneSeniorMentoringInfo done2 = MentoringMapper.mapToSeniorDoneInfo(mentoring2, payment2);
DoneSeniorMentoringInfo done3 = MentoringMapper.mapToSeniorDoneInfo(mentoring3, payment3);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ void getSalaryDetail() {
, 40, DONE
, LocalDateTime.now(), LocalDateTime.now());
Salary salary = mock(Salary.class);
Payment payment1 = new Payment(1L, mentoring1, salary, 1000, "a", "a", LocalDateTime.now(), LocalDateTime.now(), Status.DONE);
Payment payment2 = new Payment(2L, mentoring2, salary, 1000, "a", "a", LocalDateTime.now(), LocalDateTime.now(), Status.DONE);
Payment payment3 = new Payment(3L, mentoring3, salary, 1000, "a", "a", LocalDateTime.now(), LocalDateTime.now(), Status.DONE);
Payment payment1 = new Payment(1L, mentoring1, salary, 1000, "a", "a", "a", LocalDateTime.now(), LocalDateTime.now(), Status.DONE);
Payment payment2 = new Payment(2L, mentoring2, salary, 1000, "a", "a", "a", LocalDateTime.now(), LocalDateTime.now(), Status.DONE);
Payment payment3 = new Payment(3L, mentoring3, salary, 1000, "a", "a", "a", LocalDateTime.now(), LocalDateTime.now(), Status.DONE);
List<Payment> payments = List.of(payment1, payment2, payment3);

given(seniorGetService.byUser(user))
Expand Down

0 comments on commit decc2f9

Please sign in to comment.