From 3f27284123b8623ec7abf2b4536f9b16ebe004d6 Mon Sep 17 00:00:00 2001 From: Emanuele Bosu Date: Wed, 13 Nov 2024 15:42:49 +0100 Subject: [PATCH] Update test_api.py --- backend/globaleaks/tests/test_api.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/globaleaks/tests/test_api.py b/backend/globaleaks/tests/test_api.py index 4317467780..54ee2ac205 100644 --- a/backend/globaleaks/tests/test_api.py +++ b/backend/globaleaks/tests/test_api.py @@ -16,7 +16,7 @@ def setUp(self): self.api = api.APIResourceWrapper() - yield tw(db_update_enabled_languages, 1, ['en', 'ar', 'it'], 'en') + yield tw(db_update_enabled_languages, 1, ['en', 'ar'], 'en') yield refresh_tenant_cache() def test_api_spec(self): @@ -36,7 +36,8 @@ def test_api_spec(self): 'admin', 'analyst', 'receiver', - 'custodian'], check_roles)) + 'custodian', + 'accreditor'], check_roles)) self.assertTrue(len(rest) == 0) def test_get_with_no_accept_language_header(self):