File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,12 @@ void createCommunityCommentReply() {
7878 .build ();
7979
8080 //when
81- CommunityComment savedComment = communityCommentRepository .save (communityCommentReply );
81+ CommunityComment savedCommentReply = communityCommentRepository .save (communityCommentReply );
8282
8383 //then
84- assertThat (savedComment .getWriterId ()).isEqualTo (writerId );
85- assertThat (savedComment .getContent ()).isEqualTo ("커뮤니티 댓글 테스트 내용" );
86- assertThat (savedComment .getParentCommentId ()).isEqualTo (1L );
84+ assertThat (savedCommentReply .getWriterId ()).isEqualTo (writerId );
85+ assertThat (savedCommentReply .getContent ()).isEqualTo ("커뮤니티 댓글 테스트 내용" );
86+ assertThat (savedCommentReply .getParentCommentId ()).isEqualTo (1L );
8787 }
8888
8989 @ DisplayName ("댓글을 id로 조회할 수 있다. (Repository)" )
You can’t perform that action at this time.
0 commit comments