Skip to content

DTR-3013: update Create-and-update Subcontractor request#48

Merged
codeneto-hmrc merged 3 commits intomainfrom
DTR-3013
Feb 24, 2026
Merged

DTR-3013: update Create-and-update Subcontractor request#48
codeneto-hmrc merged 3 commits intomainfrom
DTR-3013

Conversation

@codeneto-hmrc
Copy link
Contributor

No description provided.

@codeneto-hmrc codeneto-hmrc marked this pull request as ready for review February 18, 2026 15:20
addressLine2 = None,
city = Some("London"),
county = Some("Greater London"),
country = Some("GB"),
Copy link
Contributor

Choose a reason for hiding this comment

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

country expect the country name rather than the country code:
please change all test country values from "GB" to "United Kingdom"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The country field is defined as a String, so this test is validating the string value itself rather than enforcing a specific format or country code. Since we are asserting against the exact value any string would technically be suffice i believe.

That said, I see your point using a realistic value would improve readability.

@codeneto-hmrc codeneto-hmrc merged commit d3ff0b8 into main Feb 24, 2026
1 check passed
@codeneto-hmrc codeneto-hmrc deleted the DTR-3013 branch February 24, 2026 10:30
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