adapt tests to new club roles framework

This commit is contained in:
imperosol committed 2026-05-12 09:44:28 +02:00
1 parent 74d8a374b9
commit 898ce48cc8
20 files changed
+250 -108

No files matched your search

+1 -1
View File
@@ -183,7 +183,7 @@ class Forum(models.Model):
Forum._club_memberships[self.id] = {}
Forum._club_memberships[self.id][user.id] = m
if m:
return m.role > settings.SITH_MAXIMUM_FREE_ROLE
return m.role.is_board
return False
def check_loop(self):