Skip to content

Commit

Permalink
style: (#515) 주석 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
aiaiaiai1 committed Sep 4, 2023
1 parent 3f37673 commit dfa399c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ void findPostsByHot() {
@Test
@DisplayName("모든 유저의 작성한 게시글 수를 가져온다.")
void findCountsByMembers() {
//given
// given
Member member = memberTestPersister.builder().save();
Member member1 = memberTestPersister.builder().save();
Member member2 = memberTestPersister.builder().save();
Expand All @@ -851,10 +851,10 @@ void findCountsByMembers() {
postTestPersister.builder().writer(member1).save();
postTestPersister.builder().writer(member1).save();

//when
// when
List<Integer> postCounts = postRepository.findCountsByMembers(List.of(member, member1, member2));

//then
// then
assertAll(
() -> assertThat(postCounts).hasSize(3),
() -> assertThat(postCounts.get(0)).isEqualTo(1),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ void countByMember() {
@Test
@DisplayName("모든 멤버의 투표 개수를 가져온다.")
void findCountsByMembers() {
//given
// given
Member member = memberTestPersister.builder().save();
Member member1 = memberTestPersister.builder().save();
Member member2 = memberTestPersister.builder().save();
Expand All @@ -307,10 +307,10 @@ void findCountsByMembers() {
voteTestPersister.builder().member(member1).save();
voteTestPersister.builder().member(member1).save();

//when
// when
List<Integer> voteCounts = voteRepository.findCountsByMembers(List.of(member, member1, member2));

//then
// then
assertAll(
() -> assertThat(voteCounts).hasSize(3),
() -> assertThat(voteCounts.get(0)).isEqualTo(1),
Expand Down

0 comments on commit dfa399c

Please sign in to comment.