Skip to content

Add test for zero appeal status validation

Винник Артем requested to merge test-db-adapter-zero-status into master

What changed

  • Added an integration test for updating an existing appeal with a zero status.
  • Verified that the endpoint returns 400 Bad Request.
  • Verified the returned error message.

Why

The test protects the zero-status validation from accidental regression.

Verification

  • dotnet build Appeal.Tests/Appeal.Tests.csproj --no-restore
  • dotnet test Appeal.Tests/Appeal.Tests.csproj --no-build --no-restore --filter "FullyQualifiedName~UpdateAppealStatus_ZeroStatus_ReturnsBadRequest"

Result: passed, 1 of 1 tests.

Merge request reports

Loading