diff --git a/app/config.py b/app/config.py index f9b737929..c19849a7e 100644 --- a/app/config.py +++ b/app/config.py @@ -82,6 +82,7 @@ class Config(object): r"scotent\.co\.uk", r"assembly\.wales", r"cjsm\.net", + r"cqc\.org\.uk", ] diff --git a/tests/app/main/test_validators.py b/tests/app/main/test_validators.py index 1a77885a9..e9bf96db2 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -90,7 +90,9 @@ def _gen_mock_field(x): 'test@hmcts.net', 'test@scotent.co.uk', 'test@assembly.wales', - 'test@cjsm.net' + 'test@cjsm.net', + 'test@cqc.org.uk', + 'test@digital.cqc.org.uk', ]) def test_valid_list_of_white_list_email_domains( client,