aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Http/DataResponseTest.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-15 13:50:30 +0200
committerJoas Schilling <coding@schilljs.com>2020-06-25 08:29:43 +0200
commitb7060be18ddc8e48d65c5909338662df5b0ec9bb (patch)
tree8538a32f626e13d745478a2a559664a1505e642c /tests/lib/AppFramework/Http/DataResponseTest.php
parenta29c866292178528b92fdca1171e61e3912d766a (diff)
downloadnextcloud-server-b7060be18ddc8e48d65c5909338662df5b0ec9bb.tar.gz
nextcloud-server-b7060be18ddc8e48d65c5909338662df5b0ec9bb.zip
Fix robots "noindex, nofollow" signals
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/AppFramework/Http/DataResponseTest.php')
-rw-r--r--tests/lib/AppFramework/Http/DataResponseTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/AppFramework/Http/DataResponseTest.php b/tests/lib/AppFramework/Http/DataResponseTest.php
index e7624c92d7e..a02cee67d31 100644
--- a/tests/lib/AppFramework/Http/DataResponseTest.php
+++ b/tests/lib/AppFramework/Http/DataResponseTest.php
@@ -67,6 +67,7 @@ class DataResponseTest extends \Test\TestCase {
'Cache-Control' => 'no-cache, no-store, must-revalidate',
'Content-Security-Policy' => "default-src 'none';base-uri 'none';manifest-src 'self'",
'Feature-Policy' => "autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone 'none';payment 'none'",
+ 'X-Robots-Tag' => 'none',
];
$expectedHeaders = array_merge($expectedHeaders, $headers);