switch to us number for better testing

This commit is contained in:
stvnrlly
2023-03-02 14:09:35 -05:00
parent 053b6636cf
commit f6e91db5bf

View File

@@ -60,7 +60,6 @@ def test_receive_notification_returns_received_to_sns(client, mocker, sample_ser
[str(inbound_sms_id), str(sample_service_full_permissions.id)], queue="notify-internal-tasks") [str(inbound_sms_id), str(sample_service_full_permissions.id)], queue="notify-internal-tasks")
# TODO: investigate why create_service_with_inbound_number causes psql errors
@pytest.mark.parametrize('permissions', [ @pytest.mark.parametrize('permissions', [
[SMS_TYPE], [SMS_TYPE],
[INBOUND_SMS_TYPE], [INBOUND_SMS_TYPE],
@@ -72,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='07111111111', service_permissions=permissions) create_service_with_inbound_number(inbound_number='12028675309', service_permissions=permissions)
data = { data = {
"ID": "1234", "ID": "1234",
"MSISDN": "07111111111", "MSISDN": "12028675309",
"Message": "Some message to notify", "Message": "Some message to notify",
"Trigger": "Trigger?", "Trigger": "Trigger?",
"Number": "testing", "Number": "testing",