mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Add asset in test
This commit is contained in:
@@ -79,7 +79,7 @@ def test_view_conversation(
|
|||||||
mock_get_inbound_sms
|
mock_get_inbound_sms
|
||||||
):
|
):
|
||||||
|
|
||||||
mock_get_notifications(
|
mock = mock_get_notifications(
|
||||||
mocker,
|
mocker,
|
||||||
api_user_active,
|
api_user_active,
|
||||||
template_content='Hello ((name))',
|
template_content='Hello ((name))',
|
||||||
@@ -158,6 +158,8 @@ def test_view_conversation(
|
|||||||
normalize_spaces(statuses[index].text),
|
normalize_spaces(statuses[index].text),
|
||||||
) == expected
|
) == expected
|
||||||
|
|
||||||
|
mock.assert_called_once_with(SERVICE_ONE_ID, to='07123 456789', template_type='sms')
|
||||||
|
|
||||||
|
|
||||||
def test_view_conversation_updates(
|
def test_view_conversation_updates(
|
||||||
logged_in_client,
|
logged_in_client,
|
||||||
|
|||||||
Reference in New Issue
Block a user