aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2020-03-17 19:40:27 +0100
committerGravatar Numerlor <[email protected]>2020-03-17 19:40:27 +0100
commit386c93a6f18adbf84691f17b13f5113800a353ae (patch)
tree6adf727c680e9b53e62b805b065597e642289a7f /tests
parentRemove `alert_channel` mention from docstring. (diff)
Fix test name.
`removed` was describing the opposite behaviour.
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/moderation/test_silence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/cogs/moderation/test_silence.py b/tests/bot/cogs/moderation/test_silence.py
index b4a34bbc7..55193e2f8 100644
--- a/tests/bot/cogs/moderation/test_silence.py
+++ b/tests/bot/cogs/moderation/test_silence.py
@@ -158,7 +158,7 @@ class SilenceTests(unittest.IsolatedAsyncioTestCase):
await self.cog._silence(channel, False, None)
self.cog.notifier.add_channel.assert_not_called()
- async def test_silence_private_removed_muted_channel(self):
+ async def test_silence_private_added_muted_channel(self):
channel = MockTextChannel()
with mock.patch.object(self.cog, "muted_channels") as muted_channels:
await self.cog._silence(channel, False, None)