Skip to content

Commit

Permalink
test: assertDoesNotThrow를 assertAll 밖으로 이동
Browse files Browse the repository at this point in the history
  • Loading branch information
amaran-th committed Jan 31, 2024
1 parent d201e70 commit ea6c17f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ void registerActivities() throws Exception {
activityIds);

//when & then
assertDoesNotThrow(() -> memberCommandService.initializeMember(member, request));
assertAll(
() -> assertDoesNotThrow(
() -> memberCommandService.initializeMember(member, request)),
() -> assertEquals(updateName, member.getName()),
() -> assertEquals(1,
interestTagRepository.findInterestTagsByMemberId(savedMemberId).size())
Expand Down

0 comments on commit ea6c17f

Please sign in to comment.