Merge pull request #2260 from alphagov/remove-govuk-from-brand-type

Remove GOV.UK as option when creating a branding
This commit is contained in:
Chris Hill-Scott
2018-08-29 15:53:19 +01:00
committed by GitHub
3 changed files with 5 additions and 6 deletions

View File

@@ -92,7 +92,7 @@ def test_create_new_email_branding_without_logo(
'text': 'new text',
'name': 'new name',
'domain': 'sample.com',
'brand_type': 'govuk'
'brand_type': 'org'
}
mock_persist = mocker.patch('app.main.views.email_branding.persist_logo')
@@ -131,7 +131,7 @@ def test_create_new_email_branding_when_branding_saved(
'text': 'new text',
'name': 'new name',
'domain': 'sample.com',
'brand_type': 'govuk'
'brand_type': 'org_banner'
}
temp_filename = LOGO_LOCATION_STRUCTURE.format(
@@ -230,7 +230,7 @@ def test_update_existing_branding(
'text': 'new text',
'name': 'new name',
'domain': 'sample.com',
'brand_type': 'govuk'
'brand_type': 'both'
}
temp_filename = LOGO_LOCATION_STRUCTURE.format(
@@ -342,7 +342,7 @@ def test_colour_regex_validation(
'text': 'new text',
'name': 'new name',
'domain': 'sample.com',
'brand_type': 'govuk'
'brand_type': 'org'
}
mocker.patch('app.main.views.email_branding.delete_temp_files_created_by')