mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-24 00:06:16 -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.errors import InvalidRequest, register_errors
|
||||||
from app.models import (
|
from app.models import (
|
||||||
KEY_TYPE_NORMAL,
|
KEY_TYPE_NORMAL,
|
||||||
NOTIFICATION_CANCELLED,
|
|
||||||
EmailBranding,
|
EmailBranding,
|
||||||
Permission,
|
Permission,
|
||||||
Service,
|
Service,
|
||||||
|
|||||||
@@ -71,10 +71,10 @@ def test_receive_notification_from_sns_without_permissions_does_not_persist(
|
|||||||
permissions
|
permissions
|
||||||
):
|
):
|
||||||
mocked = mocker.patch("app.notifications.receive_notifications.tasks.send_inbound_sms_to_service.apply_async")
|
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 = {
|
data = {
|
||||||
"ID": "1234",
|
"ID": "1234",
|
||||||
"MSISDN": "12028675309",
|
"MSISDN": "12025550104",
|
||||||
"Message": "Some message to notify",
|
"Message": "Some message to notify",
|
||||||
"Trigger": "Trigger?",
|
"Trigger": "Trigger?",
|
||||||
"Number": "testing",
|
"Number": "testing",
|
||||||
|
|||||||
Reference in New Issue
Block a user