mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-20 14:29:25 -04:00
move sqlalchemy defaults from booleans to SQL constructs
booleans aren't actually allowed, and quietly do nothing also default Services.active to true
This commit is contained in:
@@ -285,7 +285,6 @@ def test_should_not_create_service_if_missing_data(notify_api, sample_user):
|
||||
assert resp.status_code == 400
|
||||
assert json_resp['result'] == 'error'
|
||||
assert 'Missing data for required field.' in json_resp['message']['name']
|
||||
assert 'Missing data for required field.' in json_resp['message']['active']
|
||||
assert 'Missing data for required field.' in json_resp['message']['message_limit']
|
||||
assert 'Missing data for required field.' in json_resp['message']['restricted']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user