diff --git a/tests/test_info_cog.py b/tests/test_info_cog.py index 75d4a6b..123f7d9 100644 --- a/tests/test_info_cog.py +++ b/tests/test_info_cog.py @@ -19,6 +19,7 @@ def cog() -> Info: def ctx() -> MagicMock: ctx = MagicMock() ctx.send = AsyncMock() + ctx.defer = AsyncMock() ctx.guild = MagicMock(spec=discord.Guild) ctx.guild.fetch_member = AsyncMock() return ctx