mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-11 10:28:55 -04:00
Add None test back
This commit is contained in:
@@ -33,7 +33,7 @@ from tests.app.db import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("reference", ["reference_from_client"])
|
@pytest.mark.parametrize("reference", [None, "reference_from_client"])
|
||||||
def test_post_sms_notification_returns_201(client, sample_template_with_placeholders, mocker, reference):
|
def test_post_sms_notification_returns_201(client, sample_template_with_placeholders, mocker, reference):
|
||||||
mocked = mocker.patch('app.celery.provider_tasks.deliver_sms.apply_async')
|
mocked = mocker.patch('app.celery.provider_tasks.deliver_sms.apply_async')
|
||||||
data = {
|
data = {
|
||||||
|
|||||||
Reference in New Issue
Block a user