Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Place API 테스트 코드 구현 #182

Open
yooooonshine opened this issue Mar 11, 2025 · 0 comments
Open

✨ Place API 테스트 코드 구현 #182

yooooonshine opened this issue Mar 11, 2025 · 0 comments
Assignees

Comments

@yooooonshine
Copy link
Member

Description

  • Place API의 테스트 코드 구현

Todo

장소 저장하기

  • 장소가 정상 저장된다.
  • 장소 요청 데이터의 형식이 맞지 않으면 에러를 반환한다.
  • 회원이 방에 속해있지 않으면 에러를 리턴한다.
  • API 호출 시 문제가 발생하면 API 에러를 리턴한다.

장소 변경하기

  • 장소가 정상적으로 변경된다.
  • 회원이 방에 속해있지 않으면 에러를 리턴한다.

장소 조회하기

  • 내가 저장한 장소들이 정상적으로 조회된다.
  • 친구들이 저장한 장소들이 정상적으로 조회된다.
  • 내가 저장한 장소들과 친구들이 저장한 장소들이 정상적으로 조회된다.
  • 내가 저장한 장소, 친구가 저장한 장소가 없으면 false가 리턴된다.
  • 회원이 방에 속해있지 않으면 에러를 리턴한다.

장소 삭제하기

  • 장소가 삭제된다.
  • 회원이 방에 속해있지 않으면 에러를 리턴한다.
  • 장소Id에 해당하는 장소가 없으면 에러를 리턴한다.
@yooooonshine yooooonshine self-assigned this Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant