aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/test_jams.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/bot/cogs/test_jams.py b/tests/bot/cogs/test_jams.py
index a66658134..2f2cb4695 100644
--- a/tests/bot/cogs/test_jams.py
+++ b/tests/bot/cogs/test_jams.py
@@ -39,10 +39,12 @@ class JamCreateTeamTests(unittest.IsolatedAsyncioTestCase):
async def test_duplicate_members_provided(self):
"""Should `ctx.send` and exit early because duplicate members provided and total there is only 1 member."""
+ self.cog.create_channels = AsyncMock()
+ self.cog.add_roles = AsyncMock()
member = MockMember()
await self.cog.createteam(*self.default_args, (member for _ in range(5)))
self.ctx.send.assert_awaited_once()
- self.cog.create_channels.assert_now_awaited()
+ self.cog.create_channels.assert_not_awaited()
self.cog.add_roles.assert_not_awaited()
async def test_category_dont_exist(self):