Skip to content

Commit

Permalink
Alter staff tests to make use of new user roles syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Jun 2, 2020
1 parent 89437db commit 3bb6ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydis_site/apps/staff/tests/test_logs_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def setUpTestData(cls):
discriminator=1912,
)

cls.author.roles.add(cls.developers_role)
cls.author.roles.append(cls.developers_role.id)

cls.deletion_context = MessageDeletionContext.objects.create(
actor=cls.actor,
Expand Down

0 comments on commit 3bb6ad7

Please sign in to comment.