mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-12 01:48:04 -04:00
use a different number for test
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user