diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-09-08 12:23:01 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-09-08 12:23:01 +0000 |
commit | c06ed71b42e3995627ba854c7cf0bfae3c56bd0b (patch) | |
tree | 3fc428efd9560979f54cbf276d5d7c8d177c8512 /storage | |
parent | 46866b3f944baf6dbcff28ec8952255693d495c0 (diff) |
Update test HTTP header expectations
Diffstat (limited to 'storage')
-rw-r--r-- | storage/src/tests/frameworkimpl/status/statustest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/src/tests/frameworkimpl/status/statustest.cpp b/storage/src/tests/frameworkimpl/status/statustest.cpp index 77d23314221..2593eabecec 100644 --- a/storage/src/tests/frameworkimpl/status/statustest.cpp +++ b/storage/src/tests/frameworkimpl/status/statustest.cpp @@ -117,7 +117,7 @@ TEST_F(StatusTest, index_status_page) { "Content-Length: [0-9]+\r\n" "X-XSS-Protection: 1; mode=block\r\n" "X-Frame-Options: DENY\r\n" - "Content-Security-Policy: default-src 'none'\r\n" + "Content-Security-Policy: default-src 'none'; frame-ancestors 'none'\r\n" "X-Content-Type-Options: nosniff\r\n" "Cache-Control: no-store\r\n" "Pragma: no-cache\r\n" @@ -152,7 +152,7 @@ TEST_F(StatusTest, html_status) { "Content-Length: 117\r\n" "X-XSS-Protection: 1; mode=block\r\n" "X-Frame-Options: DENY\r\n" - "Content-Security-Policy: default-src 'none'\r\n" + "Content-Security-Policy: default-src 'none'; frame-ancestors 'none'\r\n" "X-Content-Type-Options: nosniff\r\n" "Cache-Control: no-store\r\n" "Pragma: no-cache\r\n" @@ -184,7 +184,7 @@ TEST_F(StatusTest, xml_sStatus) { "Content-Length: 100\r\n" "X-XSS-Protection: 1; mode=block\r\n" "X-Frame-Options: DENY\r\n" - "Content-Security-Policy: default-src 'none'\r\n" + "Content-Security-Policy: default-src 'none'; frame-ancestors 'none'\r\n" "X-Content-Type-Options: nosniff\r\n" "Cache-Control: no-store\r\n" "Pragma: no-cache\r\n" |