diff options
Diffstat (limited to 'tests/Wallabag/ApiBundle')
-rw-r--r-- | tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php b/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php index b0d4c4e1..5c7b988c 100644 --- a/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php +++ b/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php | |||
@@ -501,6 +501,8 @@ class EntryRestControllerTest extends WallabagApiTestCase | |||
501 | $content = json_decode($this->client->getResponse()->getContent(), true); | 501 | $content = json_decode($this->client->getResponse()->getContent(), true); |
502 | $this->assertGreaterThan(0, $content['id']); | 502 | $this->assertGreaterThan(0, $content['id']); |
503 | $this->assertSame('http://www.example.com/', $content['url']); | 503 | $this->assertSame('http://www.example.com/', $content['url']); |
504 | $this->assertSame('www.example.com', $content['domain_name']); | ||
505 | $this->assertSame('www.example.com', $content['title']); | ||
504 | } finally { | 506 | } finally { |
505 | // Remove the created entry to avoid side effects on other tests | 507 | // Remove the created entry to avoid side effects on other tests |
506 | if (isset($content['id'])) { | 508 | if (isset($content['id'])) { |