-
Notifications
You must be signed in to change notification settings - Fork 5
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
chore: [IOBP-909] Adapt IDPay definitions mock API #416
Conversation
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.
LGTM. Fix static checks to get a green light
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #416 +/- ##
========================================
Coverage 64.40% 64.40%
========================================
Files 167 167
Lines 5330 5330
Branches 725 718 -7
========================================
Hits 3433 3433
- Misses 1759 1896 +137
+ Partials 138 1 -137
... and 32 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
## Short description This PR fixes the timeline amount format considering the amount as cents ## List of changes proposed in this pull request - Used the `formatNumberCentsToAmount` function inside the `formatAbsNumberAmountCentsOrDefault` to format the amount from cents into correct string. ## How to test - The related unit tests should pass correctly - Checkout the dev-server with this PR: pagopa/io-dev-api-server#416 - After that enable IDPay feature flag from the profile settings - With the dev-server started you should be able to see into "Portafoglio" section two mocked initiatives --------- Co-authored-by: Mario Perrotta <mario.perrotta@pagopa.it>
## Short description This PR fixes the timeline amount format considering the amount as cents ## List of changes proposed in this pull request - Used the `formatNumberCentsToAmount` function inside the `formatAbsNumberAmountCentsOrDefault` to format the amount from cents into correct string. ## How to test - The related unit tests should pass correctly - Checkout the dev-server with this PR: pagopa/io-dev-api-server#416 - After that enable IDPay feature flag from the profile settings - With the dev-server started you should be able to see into "Portafoglio" section two mocked initiatives --------- Co-authored-by: Mario Perrotta <mario.perrotta@pagopa.it>
Short description
This PR adapts the IDPay definitions API mock with the new openAPI
List of changes proposed in this pull request