-
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
Recurring payment agreement page #1839
Conversation
https://eaflood.atlassian.net/browse/IWTF-3666 Setup the agreement page for recurring payments
…t cost, update tests and change wording json file
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 a few small changes. Nice work!
...ages/gafl-webapp-service/src/pages/recurring-payments/set-up-payment/__tests__/route.spec.js
Show resolved
Hide resolved
packages/gafl-webapp-service/src/pages/recurring-payments/set-up-payment/set-up-payment.njk
Outdated
Show resolved
Hide resolved
packages/gafl-webapp-service/src/processors/__tests__/licence-type-display.spec.js
Outdated
Show resolved
Hide resolved
packages/gafl-webapp-service/src/processors/__tests__/recurring-pay-reminder-display.spec.js
Outdated
Show resolved
Hide resolved
it.each([ | ||
[displayPermissionPrice, Symbol('mock catalog'), Symbol('mock permission')], | ||
[recurringLicenceTypeDisplay, Symbol('mock catalog'), Symbol('mock permission')], | ||
[recurringPayReminderDisplay, Symbol('mock catalog'), Symbol('mock permission')] |
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.
Thanks for combining - however, if you look at your parameters the only thing that differs is the first one. So the other two are redundant and can be defined in the test.
}) | ||
|
||
it.each([[CHOOSE_PAYMENT.uri], [TERMS_AND_CONDITIONS.uri] | ||
])('addLanguageCodeToUri is called with permission and %s', async (uri) => { |
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.
Surprised lint didn't pick this up, but you don't need brackets around a single parameter (uri)
…me paramters permission/catalog
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
https://eaflood.atlassian.net/browse/IWTF-3666
Setup the agreement page for recurring payments