mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
Remved test re-added as part of a merge
This commit is contained in:
@@ -2002,22 +2002,6 @@ def test_get_yearly_billing_usage_count_returns_from_cache_if_present(client, sa
|
|||||||
redis_set_mock.assert_not_called()
|
redis_set_mock.assert_not_called()
|
||||||
|
|
||||||
|
|
||||||
def test_update_service_works_when_sms_sender_is_null(sample_service, client, mocker):
|
|
||||||
sample_service.sms_sender = None
|
|
||||||
data = {'name': 'new name'}
|
|
||||||
|
|
||||||
resp = client.post(
|
|
||||||
'service/{}'.format(sample_service.id),
|
|
||||||
data=json.dumps(data),
|
|
||||||
headers=[create_authorization_header()],
|
|
||||||
content_type='application/json'
|
|
||||||
)
|
|
||||||
|
|
||||||
assert resp.status_code == 200
|
|
||||||
# make sure it wasn't changed to not-null under the hood
|
|
||||||
assert sample_service.sms_sender is None
|
|
||||||
|
|
||||||
|
|
||||||
def test_search_for_notification_by_to_field_filters_by_status(client, notify_db, notify_db_session):
|
def test_search_for_notification_by_to_field_filters_by_status(client, notify_db, notify_db_session):
|
||||||
create_notification = partial(
|
create_notification = partial(
|
||||||
create_sample_notification,
|
create_sample_notification,
|
||||||
|
|||||||
Reference in New Issue
Block a user