Merge branch 'tsTests' into 'master'

Fix TS Tests when testing against a real MySQL backend

See merge request allianceauth/allianceauth!1495
This commit is contained in:
Ariel Rin 2023-04-12 01:42:48 +00:00
commit 34ae6e402c

View File

@ -457,7 +457,7 @@ class Teamspeak3AdminTestCase(TestCase):
cls.site = AdminSite()
cls.admin = AuthTSgroupAdmin(AuthTS, cls.site)
cls.group = Group.objects.create(name='test')
cls.ts_group = TSgroup.objects.create(ts_group_name='test')
cls.ts_group = TSgroup.objects.create(ts_group_id=1, ts_group_name='test')
def test_field_queryset_no_reserved_names(self):
"""Ensure all groups are listed when no reserved names"""