mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Fixing tests
This commit is contained in:
parent
7f55941856
commit
48656e0eaa
7 changed files with 63 additions and 23 deletions
|
@ -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']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue