Skip to content

PO-5747 Added-400-Post-And-Put#2065

Open
Elizabeth1420 wants to merge 2 commits into
masterfrom
PO-5747-Validate-Imposition-Result-IDs-At-Draft-Save
Open

PO-5747 Added-400-Post-And-Put#2065
Elizabeth1420 wants to merge 2 commits into
masterfrom
PO-5747-Validate-Imposition-Result-IDs-At-Draft-Save

Conversation

@Elizabeth1420

Copy link
Copy Markdown
Contributor

https://tools.hmcts.net/jira/browse/PO-5747

Summary

  • Validate draft account imposition result IDs before saving
  • Reject result IDs that are missing, inactive, or not imposition results
  • Add POST and PUT integration coverage for non-imposition result IDs

Testing
./gradlew integration --tests uk.gov.hmcts.opal.controllers.DraftAccountControllerPostIntegrationTest --tests uk.gov.hmcts.opal.controllers.DraftAccountControllerPutIntegrationTest ###

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

@Elizabeth1420
Elizabeth1420 force-pushed the PO-5747-Validate-Imposition-Result-IDs-At-Draft-Save branch from 301117d to d7186a8 Compare July 16, 2026 10:41
@Elizabeth1420
Elizabeth1420 marked this pull request as ready for review July 16, 2026 10:53
@Elizabeth1420
Elizabeth1420 requested review from a team July 16, 2026 10:53
@Elizabeth1420
Elizabeth1420 marked this pull request as draft July 16, 2026 11:01

@Sean-Reed-CGI Sean-Reed-CGI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants