-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AP-3805: HRMC request for partner #5459
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
colinbruce
force-pushed
the
ap-3805-hmrc-request-for-partner-three
branch
2 times, most recently
from
July 10, 2023 08:34
50ae6c4
to
7e156ed
Compare
Update rspecs to add owner when employment instances are created Co-authored-by: colinbruce <[email protected]>
initial attempt to make the HMRC request for the partner Co-authored-by: colinbruce <[email protected]>
Ensure each party gets 2 responses generated and has ownership set
Ensure partner will be honoured as a source of data
Ensure partner can be set as owner and the mock uses it
Ensure partner model is created
rename the applicant_value -> owner_values so that it better reflects the actual use of data internally
* rather than create an empty array and add a value, instantiate with the single object and then add the partner if needed * Extract the check_partner? logic to a separate method and call in-line to reduce cognitive load
colinbruce
force-pushed
the
ap-3805-hmrc-request-for-partner-three
branch
from
July 10, 2023 12:03
7e156ed
to
ee83232
Compare
We cannot show the name of the applicant as it was not a valid GDPR use... This at least shows that requests have been made for the applicant and partner, when applicable
agoldstone93
approved these changes
Jul 11, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one question - otherwise looks good
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Link to story
Part 3 of the ticket to allow HMRC requests for partners
This switches
HMRC::CreateResponsesService
andHMRC::MockInterfaceResponseService
to parse the owner of theHMRC::Response
object, whether it is an Applicant or Partner.Checklist
Before you ask people to review this PR:
bundle exec rake
git rebase main
.