diff --git a/app/service/rest.py b/app/service/rest.py index c10b3437a..449da3786 100644 --- a/app/service/rest.py +++ b/app/service/rest.py @@ -82,7 +82,6 @@ from app.dao.users_dao import get_user_by_id from app.errors import InvalidRequest, register_errors from app.models import ( KEY_TYPE_NORMAL, - NOTIFICATION_CANCELLED, EmailBranding, Permission, Service, diff --git a/tests/app/notifications/test_receive_notification.py b/tests/app/notifications/test_receive_notification.py index b2b47bddb..0424ef476 100644 --- a/tests/app/notifications/test_receive_notification.py +++ b/tests/app/notifications/test_receive_notification.py @@ -71,10 +71,10 @@ def test_receive_notification_from_sns_without_permissions_does_not_persist( permissions ): mocked = mocker.patch("app.notifications.receive_notifications.tasks.send_inbound_sms_to_service.apply_async") - create_service_with_inbound_number(inbound_number='12028675309', service_permissions=permissions) + create_service_with_inbound_number(inbound_number='12025550104', service_permissions=permissions) data = { "ID": "1234", - "MSISDN": "12028675309", + "MSISDN": "12025550104", "Message": "Some message to notify", "Trigger": "Trigger?", "Number": "testing",