aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/bot/cogs/moderation/test_infractions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/cogs/moderation/test_infractions.py b/tests/bot/cogs/moderation/test_infractions.py
index 139209749..925439bf3 100644
--- a/tests/bot/cogs/moderation/test_infractions.py
+++ b/tests/bot/cogs/moderation/test_infractions.py
@@ -21,7 +21,7 @@ class TruncationTests(unittest.IsolatedAsyncioTestCase):
@patch("bot.cogs.moderation.utils.post_infraction")
async def test_apply_ban_reason_truncation(self, post_infraction_mock, get_active_mock):
"""Should truncate reason for `ctx.guild.ban`."""
- get_active_mock.return_value = {"foo": "bar"}
+ get_active_mock.return_value = {"id": 1}
post_infraction_mock.return_value = {"foo": "bar"}
self.cog.apply_infraction = AsyncMock()