File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
src/test/java/com/somemore/note Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ void findNoteDetailViewReceiverIsCenter() {
9494 assertThat (detailView .senderId ()).isEqualTo (volunteer .getId ());
9595 assertThat (detailView .senderName ()).isEqualTo (volunteer .getNickname ());
9696 assertThat (detailView .senderProfileImgLink ()).isEqualTo (volunteer .getImgUrl ());
97- assertThat (detailView .createdAt ()).isEqualTo (note .getCreatedAt ());
9897 }
9998
10099 @ DisplayName ("봉사자는 자신에게 온 쪽지의 상세 내용을 확인할 수 있다 (Repository)" )
@@ -112,13 +111,13 @@ void findNoteDetailViewReceiverIsVolunteer() {
112111 assertThat (result ).isPresent ();
113112
114113 NoteDetailViewForVolunteer detailView = result .get ();
114+
115115 assertThat (detailView .noteId ()).isEqualTo (note .getId ());
116116 assertThat (detailView .title ()).isEqualTo (note .getTitle ());
117117 assertThat (detailView .content ()).isEqualTo (note .getContent ());
118118 assertThat (detailView .senderId ()).isEqualTo (center .getId ());
119119 assertThat (detailView .senderName ()).isEqualTo (center .getName ());
120120 assertThat (detailView .senderProfileImgLink ()).isEqualTo (center .getImgUrl ());
121- assertThat (detailView .createdAt ()).isEqualTo (note .getCreatedAt ());
122121 }
123122
124123 private Note createNote (UUID receiverId , UUID senderId ){
Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ void getNoteDetailForCenter() {
9797 assertThat (result .senderId ()).isEqualTo (volunteer .getId ());
9898 assertThat (result .senderName ()).isEqualTo (volunteer .getNickname ());
9999 assertThat (result .senderProfileImgLink ()).isEqualTo (volunteer .getImgUrl ());
100- assertThat (result .createdAt ()).isEqualTo (note .getCreatedAt ());
101100 }
102101
103102 @ DisplayName ("존재하지 않는 쪽지 조회 시 예외를 던진다 - 기관" )
@@ -131,7 +130,6 @@ void getNoteDetailForVolunteer() {
131130 assertThat (result .senderId ()).isEqualTo (center .getId ());
132131 assertThat (result .senderName ()).isEqualTo (center .getName ());
133132 assertThat (result .senderProfileImgLink ()).isEqualTo (center .getImgUrl ());
134- assertThat (result .createdAt ()).isEqualTo (note .getCreatedAt ());
135133 }
136134
137135 @ DisplayName ("존재하지 않는 쪽지 조회 시 예외를 던진다 - 봉사자" )
You can’t perform that action at this time.
0 commit comments