Skip to content

Commit 4634bf8

Browse files
committed
[test] #107 참가자 조회 함수 변경
1 parent 92ed1ed commit 4634bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/festimate/team/api/facade/PointFacadeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void getMyPointHistory_success() {
6262
// given
6363
when(festivalService.getFestivalByIdOrThrow(100L)).thenReturn(festival);
6464
when(userService.getUserByIdOrThrow(2L)).thenReturn(participantUser);
65-
when(participantService.getParticipant(participantUser, festival)).thenReturn(participant);
65+
when(participantService.getParticipantOrThrow(participantUser, festival)).thenReturn(participant);
6666

6767
PointHistoryResponse dummyResponse = PointHistoryResponse.from(5, List.of());
6868
when(pointService.getPointHistory(participant)).thenReturn(dummyResponse);

0 commit comments

Comments
 (0)