Skip to content

Expect 422 for unsupported version in conformance tests - #66

Closed
damaz91 wants to merge 2 commits into
Universal-Commerce-Protocol:mainfrom
damaz91:fix/version-negotiation-status-code
Closed

Expect 422 for unsupported version in conformance tests#66
damaz91 wants to merge 2 commits into
Universal-Commerce-Protocol:mainfrom
damaz91:fix/version-negotiation-status-code

Conversation

@damaz91

@damaz91 damaz91 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Fixes ProtocolTest.test_version_negotiation failure where 422 is returned but 400 was expected.

damaz91 added 2 commits July 23, 2026 13:37
Expect 422 instead of 400 when an incompatible protocol version is requested.
This aligns the test expectation with the actual behavior of the server
which returns 422 Unprocessable Entity for unsupported versions.

TAG=agy
CONV=f18b5e19-6aa1-4077-8c47-307f31ac4b73
@damaz91 damaz91 added the status:needs-triage Signal that the PR is ready for human triage label Jul 24, 2026
@damaz91 damaz91 closed this Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:needs-triage Signal that the PR is ready for human triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant