diff --git a/config.py b/config.py index b53dbbfb3..ec929e34d 100644 --- a/config.py +++ b/config.py @@ -61,14 +61,9 @@ class Config(object): r"nhs\.uk", r"nhs\.net", r"police\.uk", - r"kainos\.com", - r"salesforce\.com", - r"bitzesty\.com", r"dclgdatamart\.co\.uk", - r"valtech\.co\.uk", - r"cgi\.com", - r"capita\.co\.uk", - r"ucds\.email" + r"ucds\.email", + r"naturalengland\.org\.uk", ] diff --git a/tests/app/main/test_validators.py b/tests/app/main/test_validators.py index 4e09bb61c..672666bf5 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -79,9 +79,8 @@ def _gen_mock_field(x): 'test@police.uk', 'test@gov.police.uk', 'test@GOV.PoliCe.uk', - 'test@valtech.co.uk', - 'test@cgi.com', - 'test@ucds.email' + 'test@ucds.email', + 'test@naturalengland.org.uk', ]) def test_valid_list_of_white_list_email_domains(app_, email): with app_.test_request_context():