diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-01-10 10:13:08 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-01-10 10:13:08 +0100 |
commit | e3815b382d8a57288e958a60ab8c27a6aecc8e2c (patch) | |
tree | 00b145954fc6af99ca36c9a69fe732675929eff0 /tests | |
parent | fe6416072d417b6ef166695008d9f94f07775dc9 (diff) | |
download | nextcloud-server-e3815b382d8a57288e958a60ab8c27a6aecc8e2c.tar.gz nextcloud-server-e3815b382d8a57288e958a60ab8c27a6aecc8e2c.zip |
fix data response test expected cache headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/AppFramework/Http/DataResponseTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Http/DataResponseTest.php b/tests/lib/AppFramework/Http/DataResponseTest.php index cde553cdf5f..159efded97a 100644 --- a/tests/lib/AppFramework/Http/DataResponseTest.php +++ b/tests/lib/AppFramework/Http/DataResponseTest.php @@ -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); |