✅(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.
This commit is contained in:
@@ -48,7 +48,7 @@ def test_api_documents_ask_for_access_create_authenticated():
|
|||||||
An email should be sent to document owners and admins to notify them.
|
An email should be sent to document owners and admins to notify them.
|
||||||
"""
|
"""
|
||||||
owner_user = UserFactory(language="en-us")
|
owner_user = UserFactory(language="en-us")
|
||||||
admin_user = UserFactory(language="fr-fr")
|
admin_user = UserFactory(language="en-us")
|
||||||
document = DocumentFactory(
|
document = DocumentFactory(
|
||||||
users=[
|
users=[
|
||||||
(owner_user, RoleChoices.OWNER),
|
(owner_user, RoleChoices.OWNER),
|
||||||
|
|||||||
Reference in New Issue
Block a user