mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 23:41:17 -05:00
Merge pull request #829 from GSA/org-invite-uk-bug
Removed gov.uk text from org invite
This commit is contained in:
@@ -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
|
||||
),
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user