]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix data response test expected cache headers
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 10 Jan 2017 09:13:08 +0000 (10:13 +0100)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 10 Jan 2017 09:13:08 +0000 (10:13 +0100)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
tests/lib/AppFramework/Http/DataResponseTest.php

index cde553cdf5f6bae2d9f291956e7e6936fd850008..159efded97a96503b735ea2b7bd40d9627e15910 100644 (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);