update tests

This commit is contained in:
stvnrlly
2022-10-11 20:07:18 +00:00
parent 91c57bd2b4
commit b0ed88e7a3
4 changed files with 23 additions and 23 deletions

View File

@@ -715,7 +715,7 @@ def test_update_service(client, notify_db_session, sample_service):
'email_from': 'updated.service.name',
'created_by': str(sample_service.created_by.id),
'email_branding': str(brand.id),
'organisation_type': 'school_or_college',
'organisation_type': 'federal',
}
auth_header = create_admin_authorization_header()
@@ -730,7 +730,7 @@ def test_update_service(client, notify_db_session, sample_service):
assert result['data']['name'] == 'updated service name'
assert result['data']['email_from'] == 'updated.service.name'
assert result['data']['email_branding'] == str(brand.id)
assert result['data']['organisation_type'] == 'school_or_college'
assert result['data']['organisation_type'] == 'federal'
def test_cant_update_service_org_type_to_random_value(client, sample_service):