Skip to content

CHD-3035 - fix AddCaseDocumentIT expecting caseId as the uploaded document id - #160

Merged
jayenhc merged 1 commit into
team/CHD-2786from
dev/CHD-3035-it-fix
Sep 28, 2026
Merged

jayenhc merged 1 commit into
team/CHD-2786from
dev/CHD-3035-it-fix

Conversation

@aykutdanisman

Copy link
Copy Markdown
Contributor

Problem

Validation build 875649 on team/CHD-2786 (after #158 merged) failed on AddCaseDocumentIT.shouldUploadCaseDocumentSuppliedByReferenceOnTheJsonBranch:179. #158 accidentally changed that assertion from is(documentReference) to is(caseId). verifyCaseDocumentUploadedEventRaised() returns $.documentId from public.sjp.case-document-uploaded, which is the caller-supplied reference, so the test could never pass.

Change

Restore the expectation to documentReference. Test-only change, no production code.

Verification

🤖 Generated with Claude Code

…ument id

The public case-document-uploaded event carries the caller's document
reference as documentId; #158 accidentally changed the expectation to caseId,
failing validation build 875649.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aykutdanisman
aykutdanisman requested a review from a team as a code owner September 28, 2026 17:33
@aykutdanisman
aykutdanisman requested review from erolkurelihmcts, habibulrahaman and tmckillop95 and removed request for a team September 28, 2026 17:33
@cpp-github-management

Copy link
Copy Markdown

Passed

@jayenhc
jayenhc merged commit 8540e4c into team/CHD-2786 Sep 28, 2026
3 checks passed
@jayenhc
jayenhc deleted the dev/CHD-3035-it-fix branch September 28, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants