Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
BE-#94: Fixed test for remove expense entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Flugschnitzel committed May 21, 2024
1 parent 7ce20a2 commit c60ca4a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ void shouldRemoveEntry() {
)
.build()
);
when(userService.getUserByPrincipal(principal)).thenReturn(User.builder()
.id("test")
.email("[email protected]").build());

// when
ExpenseSplitWidgetDto returnedWidget = expenseSplitWidgetService.removeEntry(principal, event.getId(), widget.getId(), entry.getId());
Expand Down

0 comments on commit c60ca4a

Please sign in to comment.