Skip to content

Commit

Permalink
test: 순서를 검증할 수 있도록 테스트 케이스 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
apptie committed Sep 28, 2023
1 parent 292cefe commit 443451b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class JpaCategoryRepositoryTest extends JpaCategoryRepositoryFixture {
// then
SoftAssertions.assertSoftly(softAssertions -> {
softAssertions.assertThat(actual).hasSize(2);
softAssertions.assertThat(actual).contains(가구_하위_의자_카테고리);
softAssertions.assertThat(actual).contains(가구_하위_책상_카테고리);
softAssertions.assertThat(actual.get(0)).isEqualTo(가구_하위_의자_카테고리);
softAssertions.assertThat(actual.get(1)).isEqualTo(가구_하위_책상_카테고리);
});
}

Expand Down

0 comments on commit 443451b

Please sign in to comment.