Skip to content

[Sprint] Comments: Update unit and integration tests for ObjectId/Result<T> changes #88

@mpaulosky

Description

@mpaulosky

Problem

10 Comment-domain test files will break after handler and shared type changes (Issues #1 and #8).

Depends On

Depends on: Foundation issue, Comments handler refactor issue

Files to Modify

  • ests/Unit.Tests/Handlers/Comments/GetCommentHandlerTests.cs
  • ests/Unit.Tests/Handlers/Comments/ListCommentsHandlerTests.cs
  • ests/Unit.Tests/Handlers/Comments/CreateCommentHandlerTests.cs
  • ests/Unit.Tests/Handlers/Comments/UpdateCommentHandlerTests.cs
  • ests/Unit.Tests/Handlers/Comments/DeleteCommentHandlerTests.cs
  • ests/Unit.Tests/Endpoints/CommentEndpointsTests.cs
  • ests/Integration.Tests/Handlers/GetCommentHandlerIntegrationTests.cs
  • ests/Integration.Tests/Handlers/CreateCommentHandlerIntegrationTests.cs
  • ests/Integration.Tests/Handlers/UpdateCommentHandlerIntegrationTests.cs
  • ests/Integration.Tests/Handlers/DeleteCommentHandlerIntegrationTests.cs
  • ests/Unit.Tests/Builders/CommentBuilder.cs

Acceptance Criteria

  • All Comment handler unit tests updated for Result returns
  • Integration tests updated for ObjectId ID setup
  • All tests pass (green)
  • Integration tests retain [Collection("Integration")] attribute

Metadata

Metadata

Assignees

No one assigned

    Labels

    go:needs-researchNeeds investigationsquadSquad triage inbox — Lead will assign to a membersquad:gimliAssigned to Gimli (Tester)squad:legolasAssigned to Legolas (Frontend Dev)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions