Give GP practices NHS branding by default

Previously we were doing it based on their email address. This will also
apply it if they self-select as a GP surgery, even if they don’t have an
NHS email address.
This commit is contained in:
Chris Hill-Scott
2019-08-28 15:33:00 +01:00
parent edb5790b7c
commit 8d9038c3e9
3 changed files with 5 additions and 1 deletions

View File

@@ -143,6 +143,8 @@ def test_create_service_with_organisation(notify_db_session):
@pytest.mark.parametrize('email_address, organisation_type', (
("test@example.gov.uk", 'nhs_central'),
("test@example.gov.uk", 'nhs_local'),
("test@example.gov.uk", 'nhs_gp'),
("test@nhs.net", 'nhs_local'),
("test@nhs.net", 'local'),
("test@nhs.net", 'central'),