aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-04-30 18:35:03 -0700
committerGravatar MarkKoz <[email protected]>2020-04-30 18:35:03 -0700
commitb43379d663a86680f762d20a7bd27a20927d4bfc (patch)
tree597d3779bc1395f6fd8792b60189c7794d1bfdf2 /tests
parentDisplay animated avatars in the user info command (diff)
Tests: change avatar_url_as assertion to use static_format
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/test_information.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/cogs/test_information.py b/tests/bot/cogs/test_information.py
index 6dace1080..b5f928dd6 100644
--- a/tests/bot/cogs/test_information.py
+++ b/tests/bot/cogs/test_information.py
@@ -485,7 +485,7 @@ class UserEmbedTests(unittest.TestCase):
user.avatar_url_as.return_value = "avatar url"
embed = asyncio.run(self.cog.create_user_embed(ctx, user))
- user.avatar_url_as.assert_called_once_with(format="png")
+ user.avatar_url_as.assert_called_once_with(static_format="png")
self.assertEqual(embed.thumbnail.url, "avatar url")