diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-15 13:50:30 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-06-25 08:29:43 +0200 |
commit | b7060be18ddc8e48d65c5909338662df5b0ec9bb (patch) | |
tree | 8538a32f626e13d745478a2a559664a1505e642c /tests/lib/AppFramework/Controller/ControllerTest.php | |
parent | a29c866292178528b92fdca1171e61e3912d766a (diff) | |
download | nextcloud-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/Controller/ControllerTest.php')
-rw-r--r-- | tests/lib/AppFramework/Controller/ControllerTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Controller/ControllerTest.php b/tests/lib/AppFramework/Controller/ControllerTest.php index e07089e0c82..7c5b1931512 100644 --- a/tests/lib/AppFramework/Controller/ControllerTest.php +++ b/tests/lib/AppFramework/Controller/ControllerTest.php @@ -92,7 +92,7 @@ class ControllerTest extends \Test\TestCase { $this->controller = new ChildController($this->app, $request); } - + public function testFormatResonseInvalidFormat() { $this->expectException(\DomainException::class); @@ -114,6 +114,7 @@ class ControllerTest extends \Test\TestCase { 'Content-Type' => 'application/json; charset=utf-8', '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', ]; $response = $this->controller->customDataResponse(['hi']); |