Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
요구사항
질문 삭제 기능 구현
User, Question, Answer 협력을 통한 구현
AcceptanceTest는 클라이언트 관점에서 응답으로 받을 수 있는 경우에 대한 테스트이기 때문에
질문 삭제에 대한 조건은 단위테스트로 작성한다.
비즈니스 로직이 변경되더라도 기존 테스트 코드는 통과해야함으로 테스트 코드의 수정이 아닌 비즈니스 로직을 수정한다.
[질문 삭제 기능 구현 세부사항]// 순서
2 - 1. 해당 질문의 작성자와 로그인한 사람이 일치하는지 판단
2 - 2. 로그인한 사람과 모든 답변의 작성자가 같은지 판단