Skip to content

Commit 62c3dd6

Browse files
rvvebersampaccoud
andauthored
fixup! 🐛(backend) email invite in receivers language
E-mails sent for granting access are sent in the receiving users language. Falling back to system default language. Co-authored-by: Samuel Paccoud <sampaccoud@users.noreply.github.com>
1 parent 38639c9 commit 62c3dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def test_api_document_invitations_create_privileged_members(
419419

420420
def test_api_document_invitations_create_email_from_senders_language():
421421
"""
422-
The email generated is from the language set on the sending user
422+
When inviting on a document a user who does not exist yet in our database, the invitation email should be sent in the language of the sending user.
423423
"""
424424
user = factories.UserFactory(language="fr-fr")
425425
document = factories.DocumentFactory()

0 commit comments

Comments
 (0)