diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2018-11-21 21:11:55 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2018-11-23 08:34:13 +0100 |
commit | dc90eab32bd1912a1541ba238dcd2c34e6171e94 (patch) | |
tree | abd5465c0336354193020cf0b052e3249b275e2f /tests/Wallabag | |
parent | e01b00298aca4d58e330e03e3c0f1f7a39884db7 (diff) | |
download | wallabag-dc90eab32bd1912a1541ba238dcd2c34e6171e94.tar.gz wallabag-dc90eab32bd1912a1541ba238dcd2c34e6171e94.tar.zst wallabag-dc90eab32bd1912a1541ba238dcd2c34e6171e94.zip |
Prepare 2.3.4 release
Diffstat (limited to 'tests/Wallabag')
-rw-r--r-- | tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | 5 |
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 | ||