Skip to content

[UNHAL-37] Test/Feed 테스트 구현 #32

Description

@LKM1027

🎟️ 상위 작업 (Epic Number)

UNHAL-36

📝 상세 내용(Description)

FeedService 테스트 구현

✅ 체크리스트(Tasks)

createFeed

  • 이미지 있는 경우 MinIO 업로드 호출 여부
  • 이미지 없는 경우 MinIO 호출 X
  • 저장된 Feed 반환 값 확인

updateFeed

  • 작성자가 아닐 경우 예외 발생
  • 기존 이미지가 있으면 deleteImageByUrl 호출
  • 새 이미지 저장 후 attachImage 적용

deleteFeed

  • 작성자 검증
  • MinIO 삭제 호출
  • Repository 삭제 호출

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions