Skip to content
Snippets Groups Projects
Unverified Commit e3815b38 authored by Christoph Wurst's avatar Christoph Wurst
Browse files

fix data response test expected cache headers

parent fe641607
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ class DataResponseTest extends \Test\TestCase { ...@@ -67,7 +67,7 @@ class DataResponseTest extends \Test\TestCase {
$response = new DataResponse($data, $code, $headers); $response = new DataResponse($data, $code, $headers);
$expectedHeaders = [ $expectedHeaders = [
'Cache-Control' => 'no-cache, must-revalidate', 'Cache-Control' => 'no-cache, no-store, must-revalidate',
'Content-Security-Policy' => "default-src 'none';script-src 'self' 'unsafe-eval';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self';connect-src 'self';media-src 'self'", 'Content-Security-Policy' => "default-src 'none';script-src 'self' 'unsafe-eval';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self';connect-src 'self';media-src 'self'",
]; ];
$expectedHeaders = array_merge($expectedHeaders, $headers); $expectedHeaders = array_merge($expectedHeaders, $headers);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment