diff options
| author | 2020-10-18 10:04:49 +0300 | |
|---|---|---|
| committer | 2020-10-18 10:04:49 +0300 | |
| commit | 61206175591841d7ffed7b202c1bcf81d2b9ba99 (patch) | |
| tree | 95fc1a9add9a9c670e75ca53824c06d6a84bccb1 | |
| parent | Use embeds instead of normal messages and send to DM instead (diff) | |
Fix voice ban command name in test
Diffstat (limited to '')
| -rw-r--r-- | tests/bot/exts/moderation/infraction/test_infractions.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/tests/bot/exts/moderation/infraction/test_infractions.py b/tests/bot/exts/moderation/infraction/test_infractions.py index f2617cf59..5dbbb8e00 100644 --- a/tests/bot/exts/moderation/infraction/test_infractions.py +++ b/tests/bot/exts/moderation/infraction/test_infractions.py @@ -71,7 +71,7 @@ class VoiceBanTests(unittest.IsolatedAsyncioTestCase):      async def test_permanent_voice_ban(self):          """Should call voice ban applying function without expiry."""          self.cog.apply_voice_ban = AsyncMock() -        self.assertIsNone(await self.cog.voice_ban(self.cog, self.ctx, self.user, reason="foobar")) +        self.assertIsNone(await self.cog.voiceban(self.cog, self.ctx, self.user, reason="foobar"))          self.cog.apply_voice_ban.assert_awaited_once_with(self.ctx, self.user, "foobar")      async def test_temporary_voice_ban(self): | 
