Skip to content

Commit

Permalink
test update
Browse files Browse the repository at this point in the history
  • Loading branch information
holotsvan committed Nov 27, 2024
1 parent aa23e5a commit 0da9f23
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ void testGetInvitedFriendsIdsTrackingHabitList() {
habitInvitation1.setInviterHabitAssign(habitAssign1);
HabitInvitation habitInvitation2 = new HabitInvitation();
habitInvitation2.setInviteeHabitAssign(habitAssign2);
habitInvitation2.setStatus(HabitInvitationStatus.ACCEPTED);

when(habitInvitationRepo.findByInviteeHabitAssignId(habitAssignId)).thenReturn(List.of(habitInvitation1));
when(habitInvitationRepo.findByInviterHabitAssignId(habitAssignId)).thenReturn(List.of(habitInvitation2));
Expand Down

0 comments on commit 0da9f23

Please sign in to comment.