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

fix: update v1 bops mocks in e2e regression tests #2872

Merged
merged 5 commits into from
Mar 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions e2e/tests/api-driven/src/invite-to-pay/mocks/session.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"designated.nationalPark",
"designated.nationalPark.broads",
"designated.WHS",
"designated.SPA",
"nature.SPA",
"monument",
"tpo",
"nature.SSSI",
Expand Down Expand Up @@ -54,10 +54,7 @@
"user.role": ["applicant"],
"project.type": ["alter.equipment.solar.pv"],
"property.EPC": ["unknown"],
"property.type": [
"commercial.medical.dentist",
"alter.equipment.solar.pv"
],
"property.type": ["commercial.medical.dentist"],
"proposal.time": ["future"],
"proposal.type": ["proposed"],
"applicant.type": ["individual"],
Expand Down Expand Up @@ -280,7 +277,7 @@
"designated.nationalPark",
"designated.nationalPark.broads",
"designated.WHS",
"designated.SPA",
Copy link
Member Author

@jessicamcinchak jessicamcinchak Mar 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This session mock data was originally generated on staging. I've updatd it's lowcal_session.data using these changes (even though post-sanitation) to confirm that it validates successfully against ODP schema (and therefore would be a valid BOPS v2 payload): https://api.editor.planx.dev/admin/session/d4d9249a-dc1e-4996-9bfc-15fd3adab242/digital-planning-application

"nature.SPA",
"monument",
"tpo",
"nature.SSSI",
Expand Down
Loading