aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-07-21 10:37:26 -0700
committerGravatar MarkKoz <[email protected]>2020-07-21 10:39:53 -0700
commitabe46b7ee2496c5676e7c5b8c809358d2fab90a5 (patch)
tree156c54e1ec5289c7fbb635ac7d3b3535dbba0861 /tests
parentUse user mentions in infraction search results (diff)
Fix test for token remover log message
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/test_token_remover.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/bot/cogs/test_token_remover.py b/tests/bot/cogs/test_token_remover.py
index 3349caa73..1c7267f56 100644
--- a/tests/bot/cogs/test_token_remover.py
+++ b/tests/bot/cogs/test_token_remover.py
@@ -240,8 +240,7 @@ class TokenRemoverTests(unittest.IsolatedAsyncioTestCase):
self.assertEqual(return_value, log_message.format.return_value)
log_message.format.assert_called_once_with(
- author=self.msg.author,
- author_id=self.msg.author.id,
+ author=f"{self.msg.author.mention} ({self.msg.author})",
channel=self.msg.channel.mention,
user_id=token.user_id,
timestamp=token.timestamp,