Skip to content

Commit

Permalink
[FEAT] MemberRepositoryTest
Browse files Browse the repository at this point in the history
  • Loading branch information
jinjoo-lab committed Nov 20, 2023
1 parent 92eb459 commit 62b43fe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void saveAndFindId(){
final Member result = memberRepository.findById(expected).orElseThrow();

// then
assertThat(result.getId().equals(expected));
assertThat(result.getId()).isEqualTo(member.getId());
}

@Test
Expand All @@ -48,7 +48,7 @@ void softDelete(){
em.clear();

// then
assertThat(memberRepository.findById(memberId).isEmpty());
assertThat(memberRepository.findById(memberId)).isEmpty();
}

}

0 comments on commit 62b43fe

Please sign in to comment.