diff options
Diffstat (limited to 'tests/Wallabag')
-rw-r--r-- | tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php index 35438c83..698e5e13 100644 --- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | |||
@@ -142,6 +142,7 @@ class EntryControllerTest extends WallabagCoreTestCase | |||
142 | $this->assertContains('Google', $content->getTitle()); | 142 | $this->assertContains('Google', $content->getTitle()); |
143 | $this->assertEquals('2015-03-28 15:37:39', $content->getPublishedAt()->format('Y-m-d H:i:s')); | 143 | $this->assertEquals('2015-03-28 15:37:39', $content->getPublishedAt()->format('Y-m-d H:i:s')); |
144 | $this->assertEquals('Morgane Tual', $author[0]); | 144 | $this->assertEquals('Morgane Tual', $author[0]); |
145 | $this->assertArrayHasKey('x-varnish1', $content->getHeaders()); | ||
145 | } | 146 | } |
146 | 147 | ||
147 | public function testPostWithMultipleAuthors() | 148 | public function testPostWithMultipleAuthors() |
@@ -914,7 +915,7 @@ class EntryControllerTest extends WallabagCoreTestCase | |||
914 | $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $entry); | 915 | $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $entry); |
915 | $this->assertEquals($url, $entry->getUrl()); | 916 | $this->assertEquals($url, $entry->getUrl()); |
916 | $this->assertContains('Perpignan', $entry->getTitle()); | 917 | $this->assertContains('Perpignan', $entry->getTitle()); |
917 | $this->assertContains('/d9bc0fcd.jpeg', $entry->getContent()); | 918 | $this->assertContains('/c4789a7f.jpeg', $entry->getContent()); |
918 | 919 | ||
919 | $client->getContainer()->get('craue_config')->set('download_images_enabled', 0); | 920 | $client->getContainer()->get('craue_config')->set('download_images_enabled', 0); |
920 | } | 921 | } |