mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 10:03:21 -04:00
Rename test values to clarify they're branding IDs
In response to: [^1] [^1]: https://github.com/alphagov/notifications-admin/pull/4182#discussion_r832009706
This commit is contained in:
@@ -4860,13 +4860,13 @@ def test_email_branding_request_page_shows_branding_if_set(
|
||||
mocker.patch(
|
||||
'app.models.service.Service.email_branding_id',
|
||||
new_callable=PropertyMock,
|
||||
return_value='1234-abcd',
|
||||
return_value='some-random-branding',
|
||||
)
|
||||
|
||||
page = client_request.get(
|
||||
'.email_branding_request', service_id=SERVICE_ONE_ID
|
||||
)
|
||||
assert page.find('iframe')['src'] == url_for('main.email_template', branding_style='1234-abcd')
|
||||
assert page.find('iframe')['src'] == url_for('main.email_template', branding_style='some-random-branding')
|
||||
|
||||
|
||||
def test_email_branding_request_page_back_link(
|
||||
|
||||
Reference in New Issue
Block a user