diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests')
-rw-r--r-- | src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php index 298cf10c..815903fa 100644 --- a/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php +++ b/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php | |||
@@ -35,6 +35,7 @@ class WallabagRestControllerTest extends WallabagTestCase | |||
35 | $client = $this->createClient(); | 35 | $client = $this->createClient(); |
36 | $client->request('GET', '/api/salts/admin.json'); | 36 | $client->request('GET', '/api/salts/admin.json'); |
37 | $this->assertEquals(200, $client->getResponse()->getStatusCode()); | 37 | $this->assertEquals(200, $client->getResponse()->getStatusCode()); |
38 | $this->assertNotEmpty(json_decode($client->getResponse()->getContent())); | ||
38 | 39 | ||
39 | $client->request('GET', '/api/salts/notfound.json'); | 40 | $client->request('GET', '/api/salts/notfound.json'); |
40 | $this->assertEquals(404, $client->getResponse()->getStatusCode()); | 41 | $this->assertEquals(404, $client->getResponse()->getStatusCode()); |