mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 17:38:50 -04:00
Merge pull request #2155 from alphagov/add-org-info-to-branding-requests
Add organisation info to branding requests
This commit is contained in:
@@ -2774,6 +2774,7 @@ def test_submit_email_branding_request(
|
||||
|
||||
zendesk.assert_called_once_with(
|
||||
message='\n'.join([
|
||||
'Organisation: Can’t tell (domain is user.gov.uk)',
|
||||
'Service: service one',
|
||||
'http://localhost/services/596364a0-858e-42c8-9062-a8fe822260eb',
|
||||
'',
|
||||
|
||||
@@ -403,7 +403,7 @@ def test_get_valid_agreement_info_unknown_details(domain_or_email_address):
|
||||
assert government_domain.crown_status is None
|
||||
assert government_domain.owner is None
|
||||
assert government_domain.agreement_signed is None
|
||||
assert government_domain.as_human_readable == 'Can’t tell'
|
||||
assert government_domain.as_human_readable == 'Can’t tell (domain is police.gov.uk)'
|
||||
|
||||
|
||||
def test_get_valid_agreement_info_only_org_known():
|
||||
@@ -442,7 +442,7 @@ def test_get_valid_government_domain_gets_most_specific_first():
|
||||
assert generic.owner is None
|
||||
assert generic.agreement_signed is None
|
||||
assert generic.as_human_readable == (
|
||||
'Can’t tell'
|
||||
'Can’t tell (domain is gov.uk)'
|
||||
)
|
||||
|
||||
specific = AgreementInfo("dacorum.gov.uk")
|
||||
|
||||
Reference in New Issue
Block a user