1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Fixing tests

This commit is contained in:
Jeremy Benoist 2016-10-30 11:27:09 +01:00
parent 7f55941856
commit 48656e0eaa
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
7 changed files with 63 additions and 23 deletions

View file

@ -65,6 +65,7 @@ class ContentProxy
$entry->setUrl($content['url'] ?: $url);
$entry->setTitle($title);
$entry->setContent($html);
$entry->setLanguage($content['language']);
$entry->setMimetype($content['content_type']);
@ -75,8 +76,6 @@ class ContentProxy
$entry->setDomainName($domainName);
}
$entry->setContent($html);
if (isset($content['open_graph']['og_image'])) {
$entry->setPreviewPicture($content['open_graph']['og_image']);
}