mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
return service restrictions from the service endpoint
This commit is contained in:
@@ -242,8 +242,11 @@ def test_get_service_by_id(admin_request, sample_service):
|
||||
assert not json_resp['data']['research_mode']
|
||||
assert json_resp['data']['email_branding'] is None
|
||||
assert json_resp['data']['prefix_sms'] is True
|
||||
assert json_resp['data'].keys() == {
|
||||
assert json_resp['data']['allowed_broadcast_provider'] is None
|
||||
|
||||
assert set(json_resp['data'].keys()) == {
|
||||
'active',
|
||||
'allowed_broadcast_provider',
|
||||
'consent_to_research',
|
||||
'contact_link',
|
||||
'count_as_live',
|
||||
@@ -268,6 +271,7 @@ def test_get_service_by_id(admin_request, sample_service):
|
||||
'volume_email',
|
||||
'volume_letter',
|
||||
'volume_sms',
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user