3 namespace Wallabag\CoreBundle\Tests\Controller
;
5 use Symfony\Bundle\FrameworkBundle\Test\WebTestCase
;
7 class WallabagRestControllerTest
extends WebTestCase
9 public function testEmptyGetEntries() {
10 $client = $this->createClient();
11 $client->request('GET', '/api/entries');
12 $this->assertTrue($client->getResponse()->isOk());
15 $client->getResponse()->headers
->contains(
20 $this->assertEquals('[]', $client->getResponse()->getContent());