]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix controller test 3000/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 10 Jan 2017 10:54:45 +0000 (11:54 +0100)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 10 Jan 2017 10:54:45 +0000 (11:54 +0100)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
tests/lib/AppFramework/Controller/ControllerTest.php

index 63cc2873575644279bfbc11087c8ed46beb823e0..640853ccda9c7f363736e7e52c7a49149865b8e9 100644 (file)
@@ -182,7 +182,7 @@ class ControllerTest extends \Test\TestCase {
        public function testFormatDataResponseJSON() {
                $expectedHeaders = [
                        'test' => 'something',
-                       'Cache-Control' => 'no-cache, must-revalidate',
+                       'Cache-Control' => 'no-cache, no-store, must-revalidate',
                        'Content-Type' => 'application/json; charset=utf-8',
                        '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'",
                ];