From b7060be18ddc8e48d65c5909338662df5b0ec9bb Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 15 Jun 2020 13:50:30 +0200 Subject: Fix robots "noindex, nofollow" signals Signed-off-by: Joas Schilling --- tests/lib/AppFramework/Controller/ControllerTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/lib/AppFramework/Controller/ControllerTest.php') 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']); -- cgit v1.2.3