-
Notifications
You must be signed in to change notification settings - Fork 4
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
UML-3671 rework find actor lpa #2878
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2878 +/- ##
============================================
+ Coverage 91.25% 91.91% +0.65%
- Complexity 1504 1740 +236
============================================
Files 309 379 +70
Lines 6393 8283 +1890
============================================
+ Hits 5834 7613 +1779
- Misses 542 653 +111
Partials 17 17
|
ALso, rewrite whole chunks of how we handle the entities, how they're used, and how the responses are generated for serialisation over the API
ALso, rewrite whole chunks of how we handle the entities, how they're used, and how the responses are generated for serialisation over the API
f7c705d
to
3352e77
Compare
interface, instead declaring it explicitly which is better
This will probably need revisiting in a combined format world.
…opg-use-an-lpa into UML-3671-findActorLpa
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.
amazing!
@@ -240,21 +211,21 @@ public function validateRequest(string $userId, array $matchData): array | |||
); | |||
throw new BadRequestException( | |||
'LPA details do not match', | |||
['lpaRegDate' => $lpaData['registrationDate']] | |||
['lpaRegDate' => $lpa['registrationDate']] |
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.
This fail in a combined world
Purpose
Rework findActorInLpa to use combined format
Approach
Make findActorInLpa be able to take GetAttorneyStatus interface as an arg, while for now continuing to support existing interim SiriusLpa. Move GetAttorneyStatus onto Person to enable that to happen. Extensive refactor of unit tests including adding fixture methods, to make them manageable. Replicate unit tests for combined format alongside interim format
Checklist