-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* #67 - feat: 게시글 좋아요 삭제 기능을 구현함 응답을 204로 내려준다. * #67 - test: 게시글 좋아요 삭제 컨트롤러 및 서비스 테스트 구현 * #67 - test: 테스트 수정 * #67 - test: 잘못 삭제한 테스트 복구
- Loading branch information
Showing
7 changed files
with
127 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ VALUES ('[email protected]', 'test', 'test', 'KAKAO', 0, false, CURRENT_TIMESTAMP, | |
('[email protected]', 'test2', 'test2', 'KAKAO', 0, false, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); | ||
|
||
INSERT INTO post (member_id, book_id, title, content, like_count, view_count, deleted) | ||
VALUES (1, 1, 'postTitle', 'postContent', 0, 0, false), | ||
VALUES (1, 1, 'postTitle', 'postContent', 1, 0, false), | ||
(2, 1, 'postTitle1', 'Content', 0, 0, false), | ||
(2, 1, 'postTitle2', '제목', 0, 0, false), | ||
(2, 1, 'postTitle3', 'post', 0, 0, false), | ||
|
@@ -33,3 +33,7 @@ VALUES (1, 1, 'postTitle', 'postContent', 0, 0, false), | |
INSERT INTO review (member_id, book_id, content, like_count, view_count, deleted) | ||
VALUES (1, 1, 'reviewContent', 0, 0, false), | ||
(2, 1, 'reviewContent', 0, 0, false); | ||
|
||
INSERT INTO post_like (member_id, post_id) | ||
VALUES (1, 2), | ||
(2, 2); |