aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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 50d8419ac..6f8f4386b 100644
--- a/tests/bot/cogs/moderation/test_silence.py
+++ b/tests/bot/cogs/moderation/test_silence.py
@@ -119,7 +119,7 @@ class SilenceCogTests(unittest.IsolatedAsyncioTestCase):
mod_log = MockTextChannel()
self.bot.get_channel.side_effect = (None, mod_log)
await self.cog._async_init()
- notifier.assert_called_once_with(self.cog._mod_log_channel)
+ notifier.assert_called_once_with(mod_log)
@autospec(silence, "SilenceNotifier", pass_mocks=False)
async def test_async_init_rescheduled(self):