mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-19 05:58:53 -04:00
update dao tests to pass in free sms fragment limit, remove command
This commit is contained in:
@@ -1432,12 +1432,13 @@ def test_set_sms_prefixing_for_service_cant_be_none(
|
||||
admin_request,
|
||||
sample_service,
|
||||
):
|
||||
admin_request.post(
|
||||
resp = admin_request.post(
|
||||
'service.update_service',
|
||||
service_id=sample_service.id,
|
||||
_data={'prefix_sms': None},
|
||||
_expected_status=500,
|
||||
_expected_status=400,
|
||||
)
|
||||
assert resp['message'] == {'prefix_sms': ['Field may not be null.']}
|
||||
|
||||
|
||||
@pytest.mark.parametrize('today_only,stats', [
|
||||
|
||||
Reference in New Issue
Block a user