aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-01-10 11:54:45 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-01-10 11:54:45 +0100
commit45c6301772721258c765f76a342958c190e9598e (patch)
tree733b1b31a2b86c641b79c537115ab85c52ab27be /tests
parente3815b382d8a57288e958a60ab8c27a6aecc8e2c (diff)
downloadnextcloud-server-45c6301772721258c765f76a342958c190e9598e.tar.gz
nextcloud-server-45c6301772721258c765f76a342958c190e9598e.zip
fix controller test
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/AppFramework/Controller/ControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Controller/ControllerTest.php b/tests/lib/AppFramework/Controller/ControllerTest.php
index 63cc2873575..640853ccda9 100644
--- a/tests/lib/AppFramework/Controller/ControllerTest.php
+++ b/tests/lib/AppFramework/Controller/ControllerTest.php
@@ -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'",
];