forked from wallabag/wallabag
Fixing tests
This commit is contained in:
@ -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']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user