-
Notifications
You must be signed in to change notification settings - Fork 3
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
Hide RCP option for Junior licence purchases #1989
Hide RCP option for Junior licence purchases #1989
Conversation
https://eaflood.atlassian.net/browse/IWTF-4066# Please enter the commit message for your changes. Lines starting
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.
A few modifications are required, please
packages/gafl-webapp-service/src/processors/__tests__/recurring-pay-helper.spec.js
Outdated
Show resolved
Hide resolved
packages/gafl-webapp-service/src/processors/__tests__/recurring-pay-helper.spec.js
Outdated
Show resolved
Hide resolved
packages/gafl-webapp-service/src/processors/recurring-pay-helper.js
Outdated
Show resolved
Hide resolved
packages/gafl-webapp-service/src/processors/__tests__/recurring-pay-helper.spec.js
Outdated
Show resolved
Hide resolved
packages/gafl-webapp-service/src/processors/recurring-pay-helper.js
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
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 is great, thanks for persevering!
* Hide RCP option for Junior licence purchases https://eaflood.atlassian.net/browse/IWTF-4066# Please enter the commit message for your changes. Lines starting * Created tests * Fixed 'age' attribute and fixed comma position * Random space from test removed * Changed age condition * Replaced magic number with constant (SonarCloud suggesstion) * Removed unnecessary test * Removed unnecessary test * Used template literals & removed hardcoded age * Removed hardcoded age, and ensured respective tests passed * Implemented template literal * Corrected age calculation, corrected describve statement's grammar, subbed in birthDate > age * Replaces age field with birthDate field, and amended tests * Prettier fixes
https://eaflood.atlassian.net/browse/IWTF-4066
Anglers under 17 y/o should not be offered the option to set up recurring payments, so it the option has been hidden.