Merge pull request #829 from GSA/org-invite-uk-bug

Removed gov.uk text from org invite
This commit is contained in:
Carlo Costino
2024-03-04 15:57:31 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ def invite_user_to_org(organization_id):
service=template.service,
personalisation={
"user_name": (
"The GOV.UK Notify team"
"The Notify.gov team"
if invited_org_user.invited_by.platform_admin
else invited_org_user.invited_by.name
),

View File

@@ -13,7 +13,7 @@ from tests.app.db import create_invited_org_user
@pytest.mark.parametrize(
"platform_admin, expected_invited_by",
((True, "The GOV.UK Notify team"), (False, "Test User")),
((True, "The Notify.gov team"), (False, "Test User")),
)
@pytest.mark.parametrize(
"extra_args, expected_start_of_invite_url",