mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Add ‘GP’ as an organisation type
Although their allowances are the same as what we call `nhs_local` it makes more sense to store them separately because: - we already present them as two separate choices to the user - we may want to handle them differently in the future, eg in terms of what branding choices are available to them Once the API is updated we can start passing in this new value from the admin app.
This commit is contained in:
@@ -92,7 +92,7 @@ def test_page_to_create_new_organisation(
|
||||
('radio', 'organisation_type', 'local'),
|
||||
('radio', 'organisation_type', 'nhs_central'),
|
||||
('radio', 'organisation_type', 'nhs_local'),
|
||||
('radio', 'organisation_type', 'nhs_local'),
|
||||
('radio', 'organisation_type', 'nhs_gp'),
|
||||
('radio', 'organisation_type', 'emergency_service'),
|
||||
('radio', 'organisation_type', 'school_or_college'),
|
||||
('radio', 'organisation_type', 'other'),
|
||||
@@ -282,7 +282,7 @@ def test_organisation_settings_for_platform_admin(
|
||||
('local', 'Local government'),
|
||||
('nhs_central', 'NHS – central government agency or public body'),
|
||||
('nhs_local', 'NHS Trust or Clinical Commissioning Group'),
|
||||
('nhs_local', 'GP practice'),
|
||||
('nhs_gp', 'GP practice'),
|
||||
('emergency_service', 'Emergency service'),
|
||||
('school_or_college', 'School or college'),
|
||||
('other', 'Other'),
|
||||
|
||||
@@ -55,7 +55,7 @@ def test_get_should_render_add_service_template(
|
||||
'local',
|
||||
'nhs_central',
|
||||
'nhs_local',
|
||||
'nhs_local',
|
||||
'nhs_gp',
|
||||
'emergency_service',
|
||||
'school_or_college',
|
||||
'other',
|
||||
@@ -205,7 +205,7 @@ def test_get_should_only_show_nhs_org_types_radios_if_user_has_nhs_email(
|
||||
] == [
|
||||
'nhs_central',
|
||||
'nhs_local',
|
||||
'nhs_local',
|
||||
'nhs_gp',
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user