We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92ed1ed commit 4634bf8Copy full SHA for 4634bf8
src/test/java/org/festimate/team/api/facade/PointFacadeTest.java
@@ -62,7 +62,7 @@ void getMyPointHistory_success() {
62
// given
63
when(festivalService.getFestivalByIdOrThrow(100L)).thenReturn(festival);
64
when(userService.getUserByIdOrThrow(2L)).thenReturn(participantUser);
65
- when(participantService.getParticipant(participantUser, festival)).thenReturn(participant);
+ when(participantService.getParticipantOrThrow(participantUser, festival)).thenReturn(participant);
66
67
PointHistoryResponse dummyResponse = PointHistoryResponse.from(5, List.of());
68
when(pointService.getPointHistory(participant)).thenReturn(dummyResponse);
0 commit comments