forbid users with a ban or no birthdate to be barmen

This commit is contained in:
imperosol committed 2026-11-10 13:27:06 +01:00
1 parent bfa5fa45b8
commit 079ec8a8e5
4 files changed
+106 -6

No files matched your search

+1 -1
View File
@@ -145,7 +145,7 @@ class TestStudentCard(TestCase):
self.login_in_counter()
barman = subscriber_user.make()
self.counter.sellers.add(barman)
self.counter.sellers.add(barman, through_defaults={"is_regular": True})
# We want to test sending requests from another counter while
# we are currently registered to another counter
# so we connect to a counter and