diff --git a/tests/app/main/views/test_conversation.py b/tests/app/main/views/test_conversation.py index e0d4c6638..fbd24fbcf 100644 --- a/tests/app/main/views/test_conversation.py +++ b/tests/app/main/views/test_conversation.py @@ -79,7 +79,7 @@ def test_view_conversation( mock_get_inbound_sms ): - mock_get_notifications( + mock = mock_get_notifications( mocker, api_user_active, template_content='Hello ((name))', @@ -158,6 +158,8 @@ def test_view_conversation( normalize_spaces(statuses[index].text), ) == expected + mock.assert_called_once_with(SERVICE_ONE_ID, to='07123 456789', template_type='sms') + def test_view_conversation_updates( logged_in_client,