Skip to content

Commit

Permalink
formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
ABbondar committed Oct 11, 2023
1 parent 99c0ef5 commit 29cf5c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ void updateUserRatingTest() {
@Test
void updateUserRatingsThrowsNotFoundExceptionTest() {
when(userRepo.findById(1L)).thenReturn(Optional.empty());
assertThrows(NotFoundException.class, ()-> userService.updateUserRating(1L, 6.0d));
assertThrows(NotFoundException.class, () -> userService.updateUserRating(1L, 6.0d));
verify(userRepo).findById(1L);
}
}

0 comments on commit 29cf5c0

Please sign in to comment.