Skip to content

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

@mpaulosky

Description

@mpaulosky

Problem

9 Category-domain test files will break after handler and shared type changes (Issues #1 and #4).

Depends On

Depends on: Foundation issue, Categories handler refactor issue

Files to Modify

  • ests/Unit.Tests/Handlers/Categories/GetCategoryHandlerTests.cs
  • ests/Unit.Tests/Handlers/Categories/ListCategoriesHandlerTests.cs
  • ests/Unit.Tests/Handlers/Categories/CreateCategoryHandlerTests.cs
  • ests/Unit.Tests/Handlers/Categories/UpdateCategoryHandlerTests.cs
  • ests/Unit.Tests/Handlers/Categories/DeleteCategoryHandlerTests.cs
  • ests/Unit.Tests/Endpoints/CategoryEndpointsTests.cs
  • ests/Integration.Tests/Handlers/GetCategoryHandlerIntegrationTests.cs
  • ests/Integration.Tests/Handlers/CreateCategoryHandlerIntegrationTests.cs
  • ests/Integration.Tests/Handlers/DeleteCategoryHandlerIntegrationTests.cs
  • ests/Unit.Tests/Builders/CategoryBuilder.cs

Acceptance Criteria

  • All Category 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