aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-05-11 14:18:21 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2017-05-11 14:18:21 +0200
commitdda6a6addc0fd54031514e81d2b55d5066b7157c (patch)
tree971a4b481adcf3ae7ec66b073649c4f218523c0b /tests
parent7987816d1e83267199c170279213412c6086e665 (diff)
downloadwallabag-dda6a6addc0fd54031514e81d2b55d5066b7157c.tar.gz
wallabag-dda6a6addc0fd54031514e81d2b55d5066b7157c.tar.zst
wallabag-dda6a6addc0fd54031514e81d2b55d5066b7157c.zip
Added headers field in Entry
Diffstat (limited to 'tests')
-rw-r--r--tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
index 35438c83..82ac3ac3 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()