Skip to content

Commit

Permalink
test: Check that Bucks is also filtered out of passport
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Oct 24, 2024
1 parent 2ad11e1 commit 480d86b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor.planx.uk/src/@planx/components/Send/Public.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ describe("Uniform overrides for Buckinghamshire", () => {
breadcrumbs: {
findProperty: {
data: {
"property.localAuthorityDistrict": ["Some local authority district"]
"property.localAuthorityDistrict": ["Buckinghamshire", "Historic district name"]
}
}
}
Expand All @@ -165,7 +165,7 @@ describe("Uniform overrides for Buckinghamshire", () => {
expect(apiPayload?.bops?.localAuthority).toEqual("buckinghamshire");

// Uniform event has read property.localAuthorityDistrict from the passport
expect(apiPayload?.uniform?.localAuthority).toEqual("some-local-authority-district");
expect(apiPayload?.uniform?.localAuthority).toEqual("historic-district-name");
});

it("maps requests for South Bucks to Chiltern", async () => {
Expand Down

0 comments on commit 480d86b

Please sign in to comment.