Правки логики

This commit is contained in:
2026-09-21 20:37:18 +03:00
parent f653a06820
commit 536679925a
30 changed files with 447 additions and 191 deletions
+3
View File
@@ -1,3 +1,4 @@
from core.test_utils import grant_all_locations
from datetime import date
from django.contrib.auth import get_user_model
@@ -137,6 +138,7 @@ class CashRegisterPortalTests(TestCase):
ad_sync_enabled=False,
totp_enabled=True,
)
grant_all_locations(cls.user)
grant_rro_access(cls.user)
def _login(self):
@@ -312,6 +314,7 @@ class CashRegisterCrudTests(TestCase):
mattermost_sync_enabled=False,
ad_sync_enabled=False,
)
grant_all_locations(cls.staff)
grant_rro_access(cls.staff)
def _login(self, user):