diff --git a/app/email_domains.yml b/app/email_domains.yml index b60fe6f63..4bb9c6cb7 100644 --- a/app/email_domains.yml +++ b/app/email_domains.yml @@ -3,59 +3,19 @@ - mod.uk - mil.uk - ddc-mod.org -- slc.co.uk - gov.scot - parliament.scot - parliament.uk - nhs.uk - nhs.net - police.uk -- dclgdatamart.co.uk -- ucds.email -- naturalengland.org.uk -- hmcts.net - scotent.co.uk - assembly.wales - cjsm.net -- cqc.org.uk -- bl.uk -- stfc.ac.uk -- wmfs.net -- bbsrc.ac.uk -- acas.org.uk - gov.wales -- biglotteryfund.org.uk -- marinemanagement.org.uk -- britishmuseum.org -- derrystrabane.com -- highwaysengland.co.uk - ac.uk -- mansheadschool.co.uk -- esfrs.org -- tfgm.com -- nationalgalleries.org - sch.uk -- sepa.org.uk -- lincoln.fire-uk.org -- derrystrabane.com -- hscni.net -- bi.team -- networkrail.co.uk -- uksbs.co.uk -- socialworkengland.org.uk -- careinspectorate.com -- unitypartnership.com -- nao.org.uk -- skillsforcare.org.uk -- judicialappointments.digital -- lewishamhomes.org.uk -- caa.co.uk - onevoicewales.wales -- cefas.co.uk - mtvh.co.uk -- officeforstudents.org.uk -- unifiedgov.co.uk -- tfwm.org.uk - wmca.org.uk - suttonmail.org -- sqa.org.uk diff --git a/tests/app/main/test_validators.py b/tests/app/main/test_validators.py index 5e40313dc..4c664aaf6 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -93,25 +93,9 @@ def _gen_mock_field(x): 'test@police.uk', 'test@gov.police.uk', 'test@GOV.PoliCe.uk', - 'test@ucds.email', - 'test@naturalengland.org.uk', - 'test@hmcts.net', 'test@scotent.co.uk', 'test@assembly.wales', 'test@cjsm.net', - 'test@cqc.org.uk', - 'test@digital.cqc.org.uk', - 'test@bl.uk', - 'test@stfc.ac.uk', - 'test@wmfs.net', - 'test@bbsrc.ac.uk', - 'test@acas.org.uk', - 'test@biglotteryfund.org.uk', - 'test@marinemanagement.org.uk', - 'test@britishmuseum.org', - 'test@derrystrabane.com', - 'test@highwaysengland.co.uk', - 'test@mansheadschool.co.uk', ]) def test_valid_list_of_white_list_email_domains( client,