fix data response test expected cache headers

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2017-01-10 10:13:08 +01:00
parent fe6416072d
commit e3815b382d
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class DataResponseTest extends \Test\TestCase {
$response = new DataResponse($data, $code, $headers);
$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'",
];
$expectedHeaders = array_merge($expectedHeaders, $headers);