From 66f09fa2f6c96ffca4e957395c6fa209f77a81ef Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Thu, 7 Mar 2024 11:46:09 +0100 Subject: [PATCH 1/3] update bops mock --- e2e/tests/api-driven/src/invite-to-pay/mocks/server-mocks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/tests/api-driven/src/invite-to-pay/mocks/server-mocks.yaml b/e2e/tests/api-driven/src/invite-to-pay/mocks/server-mocks.yaml index 65892e19ed..6b960960eb 100644 --- a/e2e/tests/api-driven/src/invite-to-pay/mocks/server-mocks.yaml +++ b/e2e/tests/api-driven/src/invite-to-pay/mocks/server-mocks.yaml @@ -1,7 +1,7 @@ # BOPS submissions - request: method: POST - path: /api/v1/planning_applications + path: /api/v2/planning_applications response: headers: Content-Type: application/json From 7141ede70b840dd44a834d433f61acd3275e4d94 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Thu, 7 Mar 2024 12:22:12 +0100 Subject: [PATCH 2/3] update e2e session to validate against ODP schema --- e2e/tests/api-driven/src/invite-to-pay/mocks/session.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/e2e/tests/api-driven/src/invite-to-pay/mocks/session.json b/e2e/tests/api-driven/src/invite-to-pay/mocks/session.json index be64983ea6..4e1ed7f01d 100644 --- a/e2e/tests/api-driven/src/invite-to-pay/mocks/session.json +++ b/e2e/tests/api-driven/src/invite-to-pay/mocks/session.json @@ -12,7 +12,7 @@ "designated.nationalPark", "designated.nationalPark.broads", "designated.WHS", - "designated.SPA", + "nature.SPA", "monument", "tpo", "nature.SSSI", @@ -55,8 +55,7 @@ "project.type": ["alter.equipment.solar.pv"], "property.EPC": ["unknown"], "property.type": [ - "commercial.medical.dentist", - "alter.equipment.solar.pv" + "commercial.medical.dentist" ], "proposal.time": ["future"], "proposal.type": ["proposed"], @@ -280,7 +279,7 @@ "designated.nationalPark", "designated.nationalPark.broads", "designated.WHS", - "designated.SPA", + "nature.SPA", "monument", "tpo", "nature.SSSI", From 53015ab9969038683b232ba6d71b041c96859c24 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Thu, 7 Mar 2024 12:30:06 +0100 Subject: [PATCH 3/3] run prettier --- e2e/tests/api-driven/src/invite-to-pay/mocks/session.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/e2e/tests/api-driven/src/invite-to-pay/mocks/session.json b/e2e/tests/api-driven/src/invite-to-pay/mocks/session.json index 4e1ed7f01d..80d1506ae1 100644 --- a/e2e/tests/api-driven/src/invite-to-pay/mocks/session.json +++ b/e2e/tests/api-driven/src/invite-to-pay/mocks/session.json @@ -54,9 +54,7 @@ "user.role": ["applicant"], "project.type": ["alter.equipment.solar.pv"], "property.EPC": ["unknown"], - "property.type": [ - "commercial.medical.dentist" - ], + "property.type": ["commercial.medical.dentist"], "proposal.time": ["future"], "proposal.type": ["proposed"], "applicant.type": ["individual"],