aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/bot/cogs/moderation/test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/cogs/moderation/test_utils.py b/tests/bot/cogs/moderation/test_utils.py
index 2cba37e3a..e23585c99 100644
--- a/tests/bot/cogs/moderation/test_utils.py
+++ b/tests/bot/cogs/moderation/test_utils.py
@@ -371,5 +371,5 @@ class TestPostInfraction(unittest.IsolatedAsyncioTestCase):
actual = await utils.post_infraction(self.ctx, self.user, "mute", "Test reason")
self.assertEqual(actual, "foo")
- self.bot.api_client.post.assert_awaited_once_with("bot/infractions", json=payload)
+ self.bot.api_client.post.assert_awaited_with("bot/infractions", json=payload)
post_user_mock.assert_awaited_once_with(self.ctx, self.user)