Skip to content

Commit

Permalink
test: 컨벤션에 따른 테스트 검증 로직 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ503 committed Feb 3, 2024
1 parent ee57030 commit 3808774
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,12 @@ class UserRepositoryTest extends UserRepositoryTestFixture {
// then
assertSoftly(SoftAssertions -> {
assertThat(actual).hasSize(3);
assertThat(actual.get(0).getId()).isEqualTo(사용자_아이디);
assertThat(actual.get(0).getId()).isEqualTo(사용자.getId());
assertThat(actual.get(0).getName()).isEqualTo(사용자.getName());
assertThat(actual.get(1).getId()).isEqualTo(사용자2.getId());
assertThat(actual.get(2).getId()).isEqualTo(삭제된_사용자_아이디);
assertThat(actual.get(0).getName()).isEqualTo(사용자2.getName());
assertThat(actual.get(2).getId()).isEqualTo(삭제된_사용자.getId());
assertThat(actual.get(0).getName()).isEqualTo(삭제된_사용자.getName());
});
}
}

0 comments on commit 3808774

Please sign in to comment.