Introduce new org types

This commit is contained in:
Pea Tyczynska
2019-07-15 18:03:59 +01:00
parent 42300371b0
commit 77d281f44f
7 changed files with 52 additions and 13 deletions

View File

@@ -90,7 +90,11 @@ def test_page_to_create_new_organisation(
('text', 'name', ''),
('radio', 'organisation_type', 'central'),
('radio', 'organisation_type', 'local'),
('radio', 'organisation_type', 'nhs'),
('radio', 'organisation_type', 'nhs_central'),
('radio', 'organisation_type', 'nhs_local'),
('radio', 'organisation_type', 'emergency_service'),
('radio', 'organisation_type', 'school_or_college'),
('radio', 'organisation_type', 'other'),
('radio', 'crown_status', 'crown'),
('radio', 'crown_status', 'non-crown'),
('hidden', 'csrf_token', ANY),
@@ -275,7 +279,11 @@ def test_organisation_settings_for_platform_admin(
(
('central', 'Central government'),
('local', 'Local government'),
('nhs', 'NHS'),
('nhs_central', 'NHS central government agency or public body'),
('nhs_local', 'NHS Trust, GP surgery or Clinical Commissioning Group'),
('emergency_service', 'Emergency service'),
('school_or_college', 'School or college'),
('other', 'Other'),
),
None,
),
@@ -358,8 +366,8 @@ def test_view_organisation_settings(
),
(
'.edit_organisation_type',
{'organisation_type': 'nhs'},
{'organisation_type': 'nhs'},
{'organisation_type': 'nhs_local'},
{'organisation_type': 'nhs_local'},
),
(
'.edit_organisation_crown_status',