Skip to content

Commit

Permalink
Compare list to list instead of set to list.
Browse files Browse the repository at this point in the history
  • Loading branch information
otchet-broad committed Feb 3, 2025
1 parent ed31123 commit e126c2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ void testUploadAttachmentSuccess() throws SQLException {
Response response = resource.addAttachments(authUser, UUID.randomUUID().toString(), mock(
FormDataMultiPart.class));
assertEquals(HttpStatusCodes.STATUS_CODE_OK, response.getStatus());
assertEquals(draftWithAttachment.getStoredFiles(), response.getEntity());
assertEquals(draftWithAttachment.getStoredFiles().stream().toList(), response.getEntity());
}

@Test
Expand Down

0 comments on commit e126c2f

Please sign in to comment.