Skip to content

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

@mpaulosky

Description

@mpaulosky

Problem

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

Depends On

Depends on: Foundation issue, Statuses handler refactor issue

Files to Modify

  • ests/Unit.Tests/Handlers/Statuses/GetStatusHandlerTests.cs
  • ests/Unit.Tests/Handlers/Statuses/ListStatusesHandlerTests.cs
  • ests/Unit.Tests/Handlers/Statuses/CreateStatusHandlerTests.cs
  • ests/Unit.Tests/Handlers/Statuses/UpdateStatusHandlerTests.cs
  • ests/Unit.Tests/Handlers/Statuses/DeleteStatusHandlerTests.cs
  • ests/Unit.Tests/Endpoints/StatusEndpointsTests.cs
  • ests/Integration.Tests/Handlers/GetStatusHandlerIntegrationTests.cs
  • ests/Integration.Tests/Handlers/CreateStatusHandlerIntegrationTests.cs
  • ests/Integration.Tests/Handlers/UpdateStatusHandlerIntegrationTests.cs
  • ests/Integration.Tests/Handlers/DeleteStatusHandlerIntegrationTests.cs
  • ests/Unit.Tests/Builders/StatusBuilder.cs

Acceptance Criteria

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