diff --git a/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php new file mode 100644 index 000000000..0949b92d9 --- /dev/null +++ b/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php @@ -0,0 +1,22 @@ +createClient(); + $client->request('GET', '/api/entries'); + $this->assertTrue($client->getResponse()->isOk()); + + $this->assertTrue( + $client->getResponse()->headers->contains( + 'Content-Type', + 'application/json' + ) + ); + $this->assertEquals('[]', $client->getResponse()->getContent()); + } +} \ No newline at end of file