diff --git a/src/server/utils/__tests__/validation.test.ts b/src/server/utils/__tests__/validation.test.ts index 805b8129c..8d4a7fb29 100644 --- a/src/server/utils/__tests__/validation.test.ts +++ b/src/server/utils/__tests__/validation.test.ts @@ -22,7 +22,8 @@ describe("isGovUKEmailAddress", () => { expect(isGovUKEmailAddress("person.surname@fco")).toBe(false); expect(isGovUKEmailAddress("@fcdo.gov.uk")).toBe(false); expect(isGovUKEmailAddress("fcdo.gov.uk")).toBe(false); - expect(isGovUKEmailAddress("someone@fcdo.gov.uk")).toBe(false); + expect(isGovUKEmailAddress("someone@gov.uk")).toBe(false); + expect(isGovUKEmailAddress("someone@ho.gov.uk")).toBe(false); }); test("multiple emails fail", () => {