From 653e3fcd52efb1fe3451e31130942c2a0fcbecb0 Mon Sep 17 00:00:00 2001 From: Pete Herlihy Date: Tue, 8 May 2018 11:40:19 +0100 Subject: [PATCH 1/2] Adding Manshead School to allowed domains --- app/email_domains.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/email_domains.yml b/app/email_domains.yml index e29d9d730..49a5ddd3a 100644 --- a/app/email_domains.yml +++ b/app/email_domains.yml @@ -29,3 +29,4 @@ - derrystrabane.com - highwaysengland.co.uk - nhm.ac.uk +- mansheadschool.co.uk From bb7973f753a4da8e5de3595884583c9dead2e74e Mon Sep 17 00:00:00 2001 From: Pete Herlihy Date: Tue, 8 May 2018 11:42:04 +0100 Subject: [PATCH 2/2] Adding a test for mansheadschool whitelisting domain --- tests/app/main/test_validators.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/app/main/test_validators.py b/tests/app/main/test_validators.py index 515a545c0..604d9668b 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -109,6 +109,7 @@ def _gen_mock_field(x): 'test@britishmuseum.org', 'test@derrystrabane.com', 'test@highwaysengland.co.uk', + 'test@mansheadschool.co.uk', ]) def test_valid_list_of_white_list_email_domains( client,