Skip to content

Conversation

@ljdongz
Copy link
Collaborator

@ljdongz ljdongz commented Jun 7, 2025

#️⃣ 연관된 이슈

📝 작업 내용

DeleteFolderUseCase에 대한 테스트 코드를 작성했습니다.
테스트 내용은 아래와 같습니다.

  1. includingChildren이 true면 링크들을 삭제한다. (폴더 삭제 시 하위 링크 데이터까지 삭제한다.)
  2. includingChildren이 false면 링크들을 기본 폴더로 이동한다. (폴더만 삭제 시 하위 링크들을 기본 폴더로 이동시킨다.)
  3. folderID가 nil이면 폴더는 삭제되지 않는다. (삭제 대상이 기본 폴더일 경우, 폴더는 삭제되지 않는다.)
  4. folderID가 존재하면 폴더를 삭제한다. (삭제 대상이 기본 폴더가 아닐 경우, 폴더는 삭제된다.)

🎨 스크린샷

💬 추가 설명

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 7, 2025

@ljdongz ljdongz requested a review from f-lab-barry June 7, 2025 07:43
@ljdongz ljdongz self-assigned this Jun 7, 2025

enum AuthError: Error {
case unauthenticated
final class StubAuthUserManager: AuthUserManager {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests 내부로 이동되어야 해요!

@ljdongz ljdongz changed the base branch from test/#52 to develop June 16, 2025 05:58
@ljdongz ljdongz merged commit 4255435 into develop Jun 16, 2025
2 checks passed
@ljdongz ljdongz linked an issue Jun 16, 2025 that may be closed by this pull request
@ljdongz ljdongz deleted the test/#55 branch June 16, 2025 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Test] DeleteFolderUseCase 테스트 코드 작성

3 participants