diff options
| author | 2020-07-14 13:08:41 -0700 | |
|---|---|---|
| committer | 2020-07-14 13:08:41 -0700 | |
| commit | 2a5bd3242582a9767d70e18e97fc643b9b6c30ec (patch) | |
| tree | cfc8c37fa2a59046f91305c86eca9e977dd1ef29 /pydis_site/apps/staff | |
| parent | Allow empty list for message embeds (diff) | |
| parent | Catch ConnectionError when trying to get updated repository data (diff) | |
Merge branch 'master' into feat/deps/344/django-3.0
Diffstat (limited to 'pydis_site/apps/staff')
| -rw-r--r-- | pydis_site/apps/staff/tests/test_logs_view.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pydis_site/apps/staff/tests/test_logs_view.py b/pydis_site/apps/staff/tests/test_logs_view.py index 1415c558..17910bb6 100644 --- a/pydis_site/apps/staff/tests/test_logs_view.py +++ b/pydis_site/apps/staff/tests/test_logs_view.py @@ -21,10 +21,9 @@ class TestLogsView(TestCase): id=12345678901, name='Alan Turing', discriminator=1912, - avatar_hash=None ) - cls.author.roles.add(cls.developers_role) + cls.author.roles.append(cls.developers_role.id) cls.deletion_context = MessageDeletionContext.objects.create( actor=cls.actor, |