diff --git a/tests/Controller/AjaxTest.php b/tests/Controller/AjaxTest.php deleted file mode 100644 index a55bac63..00000000 --- a/tests/Controller/AjaxTest.php +++ /dev/null @@ -1,28 +0,0 @@ -request('GET', '/', [], [], [ - 'HTTP_X_REQUESTED_WITH' => 'NoAgendaRequest', - ]); - - $this->assertEquals(200, $client->getResponse()->getStatusCode()); - $this->assertResponseHeaderSame('Content-Type', 'application/json'); - - $responseData = json_decode($client->getResponse()->getContent(), true); - - $this->assertIsArray($responseData); - $this->assertArrayHasKey('path', $responseData); - $this->assertArrayHasKey('title', $responseData); - $this->assertArrayHasKey('contents', $responseData); - $this->assertArrayHasKey('authenticated', $responseData); - } -}