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.
친구추가, 거절,리스트 블러오기 기능을 구현하였습니다.
test케이스는 다음과 같습니다
1.친구 요청을 보냈을 때 상대방 friendrequest[]배열 안에 잘들어가지는 지 ->확인
2.해당 friendrequest[]를 소켓통신을 통해서 return값으로 잘 가져오는지 -> 확인
3.친구 수락을 눌렀을 경우 정상적으로 friend[]배열 안에 들어가지는 지 -> 확인
4.친구 friend[]를 소켓통신을 통해서 return값을 잘 가져오는 지 -> 확인
5.친구 요청을 reject한 경우 friendrequest[]배열에서 잘 삭제가 되는 지-> 확인
6.해당 friendrequest[]를 소켓통신을 통해서 return값으로 잘 가져오는지 -> 확인
friends는 친구목록이고 friendRequests는 친구 요청을 보낸 사람의 nickname이 들어가게 됩니다.
해당 과정은 모두 token만을 받아서 동작하도록 만들었습니다.
main에서 새로 branch를 파서 작업하였습니다.