aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests')
-rw-r--r--src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php
index 50b61234..00b96905 100644
--- a/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php
+++ b/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php
@@ -104,6 +104,15 @@ class WallabagRestControllerTest extends WallabagTestCase
104 $headers = $this->generateHeaders('admin', 'test', $salt[0]); 104 $headers = $this->generateHeaders('admin', 'test', $salt[0]);
105 105
106 $client->request('GET', '/api/entries', array(), array(), $headers); 106 $client->request('GET', '/api/entries', array(), array(), $headers);
107
108 $this->assertEquals(200, $client->getResponse()->getStatusCode());
109
110 /* var_dump(count(json_decode($client->getResponse()->getContent())));
111 var_dump($client->getResponse()->getContent());
112 die;
113*/
114 $this->assertGreaterThanOrEqual(1, count(json_decode($client->getResponse()->getContent())));
115
107 $this->assertContains('Mailjet', $client->getResponse()->getContent()); 116 $this->assertContains('Mailjet', $client->getResponse()->getContent());
108 117
109 $this->assertTrue( 118 $this->assertTrue(