Skip to content

Commit bf5cbfa

Browse files
committed
test: containsExactlyInAnyOrder로 변경
- 응답의 개수를 정확히 판별하기 위해
1 parent 7a438e2 commit bf5cbfa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/com/example/solidconnection/application/service/ApplicationQueryServiceTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ class 지원자_목록_조회_테스트 {
124124
ApplicationsResponse response = applicationQueryService.getApplicants(user1.getId(), "", "");
125125

126126
// then
127-
assertThat(response.choices().get(0)).containsAll(List.of(
127+
assertThat(response.choices().get(0)).containsExactlyInAnyOrder(
128128
ApplicantsResponse.of(괌대학_A_지원_정보, List.of(application1), user1),
129129
ApplicantsResponse.of(버지니아공과대학_지원_정보, List.of(application2), user1),
130130
ApplicantsResponse.of(서던덴마크대학교_지원_정보, List.of(application3), user1)
131-
));
131+
);
132132
}
133133

134134
@Test

0 commit comments

Comments
 (0)