aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2018-11-24 21:13:03 +0100
committerGitHub <noreply@github.com>2018-11-24 21:13:03 +0100
commitbffe65478de71113a16f6e7a7ef75845c9d61180 (patch)
tree187158b4fe108dee3c49c9d65a5fdd455e078ec3 /tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
parente01b00298aca4d58e330e03e3c0f1f7a39884db7 (diff)
parent5a4cbf5b70a6971af7418781293c98136ad93080 (diff)
downloadwallabag-bffe65478de71113a16f6e7a7ef75845c9d61180.tar.gz
wallabag-bffe65478de71113a16f6e7a7ef75845c9d61180.tar.zst
wallabag-bffe65478de71113a16f6e7a7ef75845c9d61180.zip
Merge pull request #3775 from wallabag/prepare-2.3.4
Prepare 2.3.4 release
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php')
-rw-r--r--tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
index bf0068b4..479e0700 100644
--- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
@@ -166,9 +166,8 @@ class EntryControllerTest extends WallabagCoreTestCase
166 $this->assertSame($this->url, $content->getUrl()); 166 $this->assertSame($this->url, $content->getUrl());
167 $this->assertContains('Google', $content->getTitle()); 167 $this->assertContains('Google', $content->getTitle());
168 $this->assertSame('fr', $content->getLanguage()); 168 $this->assertSame('fr', $content->getLanguage());
169 $this->assertSame('2015-03-28 11:43:19', $content->getPublishedAt()->format('Y-m-d H:i:s')); 169 $this->assertSame('2016-04-07 19:01:35', $content->getPublishedAt()->format('Y-m-d H:i:s'));
170 $this->assertSame('Morgane Tual', $author[0]); 170 $this->assertArrayHasKey('x-frame-options', $content->getHeaders());
171 $this->assertArrayHasKey('x-varnish1', $content->getHeaders());
172 $client->getContainer()->get('craue_config')->set('store_article_headers', 0); 171 $client->getContainer()->get('craue_config')->set('store_article_headers', 0);
173 } 172 }
174 173