Skip to content

Commit 1110ec9

Browse files
committed
✅(backend) fix test access create
Importing the french translation broke a test because the subject was not in english anymore. We change the admin user language to english to keep the subject in english.
1 parent 1d01f65 commit 1110ec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/core/tests/documents/test_api_documents_ask_for_access.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def test_api_documents_ask_for_access_create_authenticated():
4848
An email should be sent to document owners and admins to notify them.
4949
"""
5050
owner_user = UserFactory(language="en-us")
51-
admin_user = UserFactory(language="fr-fr")
51+
admin_user = UserFactory(language="en-us")
5252
document = DocumentFactory(
5353
users=[
5454
(owner_user, RoleChoices.OWNER),

0 commit comments

Comments
 (0)