mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 07:18:58 -04:00
Fixes for tests broken by changes
- corrects target page for set_email_branding to new preview step instead of itself - removed check for helper method being called in email page test - updates expected result for test of global headers to include changes to `frame-src` - updates navigation config with brand preview page
This commit is contained in:
@@ -14,7 +14,7 @@ def test_owasp_useful_headers_set(client, mocker):
|
||||
"object-src 'self';"
|
||||
"font-src 'self' data:;"
|
||||
"img-src 'self' *.google-analytics.com *.notifications.service.gov.uk static-logos.test.com data:;"
|
||||
"frame-src www.youtube.com;"
|
||||
"frame-src 'self' www.youtube.com;"
|
||||
)
|
||||
|
||||
|
||||
@@ -31,5 +31,5 @@ def test_headers_non_ascii_characters_are_replaced(client, mocker):
|
||||
"object-src 'self';"
|
||||
"font-src 'self' data:;"
|
||||
"img-src 'self' *.google-analytics.com *.notifications.service.gov.uk static-logos??.test.com data:;"
|
||||
"frame-src www.youtube.com;"
|
||||
"frame-src 'self' www.youtube.com;"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user