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

PP-13233: Pre release refactor & features #1

Merged
merged 8 commits into from
Oct 11, 2024
Merged

Conversation

nataliecarey
Copy link
Contributor

Preparing for the release we went through a code review and broke the app into multiple files. (Thanks @DomBelcher for the input)

I also realised that being naive about the difference between equals and deepEquals had led me down a path that wouldn't be particularly helpful so I fixed it, we're now respecting the difference. Previously I'd seen query strings being used as equals (allowing additional parameters) and request bodies being used as deepEquals (not allowing additional properties), as a result I was treating query strings as flexible and bodies as strict which could lead to some false positives in some tests. That's now resolved.

This passes the tests and I'm confirming that it's compatible with our apps in the following PRs:

alphagov/pay-selfservice#4281
alphagov/pay-frontend#3910
alphagov/pay-products-ui#2710

@nataliecarey nataliecarey merged commit 287f432 into main Oct 11, 2024
@nataliecarey nataliecarey deleted the pre-release-refactor branch October 11, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant