diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-07 15:21:31 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-07 15:21:31 +0200 |
commit | d5c45d5288f035ef36484b007cd6cc246fa65e19 (patch) | |
tree | 7c8c75b656f431440b15f345f614a821a53d152b /tests | |
parent | 21d82c3c5d211ee3e30cf71d2de3ebac0d63da54 (diff) | |
download | wallabag-d5c45d5288f035ef36484b007cd6cc246fa65e19.tar.gz wallabag-d5c45d5288f035ef36484b007cd6cc246fa65e19.tar.zst wallabag-d5c45d5288f035ef36484b007cd6cc246fa65e19.zip |
Added default picture if preview picture is null
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php index 03267e76..d7bf03ba 100644 --- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | |||
@@ -781,6 +781,7 @@ class EntryControllerTest extends WallabagCoreTestCase | |||
781 | $this->assertContains('og:title', $client->getResponse()->getContent()); | 781 | $this->assertContains('og:title', $client->getResponse()->getContent()); |
782 | $this->assertContains('og:type', $client->getResponse()->getContent()); | 782 | $this->assertContains('og:type', $client->getResponse()->getContent()); |
783 | $this->assertContains('og:url', $client->getResponse()->getContent()); | 783 | $this->assertContains('og:url', $client->getResponse()->getContent()); |
784 | $this->assertContains('og:image', $client->getResponse()->getContent()); | ||
784 | 785 | ||
785 | // sharing is now disabled | 786 | // sharing is now disabled |
786 | $client->getContainer()->get('craue_config')->set('share_public', 0); | 787 | $client->getContainer()->get('craue_config')->set('share_public', 0); |