Skip to content
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

Merged
merged 9 commits into from
Dec 21, 2023

Conversation

ScottDormand96
Copy link
Collaborator

https://eaflood.atlassian.net/browse/IWTF-3666

Setup the agreement page for recurring payments

@ScottDormand96 ScottDormand96 added the enhancement New feature or request label Dec 6, 2023
Copy link
Collaborator

@jaucourt jaucourt left a 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!

it.each([
[displayPermissionPrice, Symbol('mock catalog'), Symbol('mock permission')],
[recurringLicenceTypeDisplay, Symbol('mock catalog'), Symbol('mock permission')],
[recurringPayReminderDisplay, Symbol('mock catalog'), Symbol('mock permission')]
Copy link
Collaborator

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) => {
Copy link
Collaborator

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)

Copy link

@ScottDormand96 ScottDormand96 merged commit b6ce4fc into develop Dec 21, 2023
3 checks passed
@ScottDormand96 ScottDormand96 deleted the feature/iwtf-3666-rp-agreement-page branch December 21, 2023 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants