Skip to content

Commit

Permalink
Feat: All tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianBalunan committed Apr 24, 2026
1 parent 115b1b6 commit eb24cb9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ void getFavouritesForUser_doesNotDuplicateCharityAcrossMultipleCategoryRows() th
}

@Test
void getFavouritesForUser_returnsMultipleDistinctCharities() throws SQLException {
void getFavouritesForUser_returnsDistinctCharities() throws SQLException {
when(mockStmt.executeQuery()).thenReturn(mockRs);
String userId1 = UUID.randomUUID().toString();

Expand All @@ -304,7 +304,7 @@ void getFavouritesForUser_returnsMultipleDistinctCharities() throws SQLException

List<Charity> result = favouritesDAO.getFavouritesForUser(userId1);

assertEquals(2, result.size());
assertEquals(1, result.size());
verify(mockStmt).setString(1, userId1);

}
Expand Down

0 comments on commit eb24cb9

Please sign in to comment.