Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed Jun 26, 2023
1 parent 3ebb675 commit f888cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_discord_success(mock_request, mock_logger, mock_url, mock_messages):
"""Tests that we can send a Discord message."""
Message.send_discord_message(mock_messages, mock_url)

mock_request.assert_called_once_with(mock_url, json={'content': mock_messages[0]})
mock_request.assert_called_once_with(mock_url, json={'content': mock_messages[0]}, timeout=30)
mock_logger.assert_called_once_with('Discord message sent!')


Expand Down

0 comments on commit f888cb4

Please sign in to comment.