aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2023-02-28 16:01:35 +0000
committerGravatar GitHub <[email protected]>2023-02-28 16:01:35 +0000
commit5b6b6352ad60c1536b3af1d23a620a18f85eafb2 (patch)
tree3cd46f273e2f060a2feec05f770a3f4bcad4013c /tests
parentInclude embed titles in all tags (#2419) (diff)
parentadd the `flags` key to the member_data dictionary (diff)
Merge pull request #2421 from shtlrs/bump-pydis-core-to-9-5-0
Bump pydis-core to 9.5.0
Diffstat (limited to 'tests')
-rw-r--r--tests/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers.py b/tests/helpers.py
index 0d955b521..1a71f210a 100644
--- a/tests/helpers.py
+++ b/tests/helpers.py
@@ -222,7 +222,7 @@ class MockRole(CustomMockMixin, unittest.mock.Mock, ColourMixin, HashableMixin):
# Create a Member instance to get a realistic Mock of `discord.Member`
-member_data = {'user': 'lemon', 'roles': [1]}
+member_data = {'user': 'lemon', 'roles': [1], 'flags': 2}
state_mock = unittest.mock.MagicMock()
member_instance = discord.Member(data=member_data, guild=guild_instance, state=state_mock)