Issue #2427409 by ParisLiakos: Feed image doesnt display
parent
ec408a19da
commit
e26375e83f
|
@ -94,7 +94,7 @@ class FeedViewBuilder extends EntityViewBuilder {
|
|||
if ($image && $label && $link_href) {
|
||||
$link_title = array(
|
||||
'#theme' => 'image',
|
||||
'#path' => $image,
|
||||
'#uri' => $image,
|
||||
'#alt' => $label,
|
||||
);
|
||||
$image_link = array(
|
||||
|
|
|
@ -40,6 +40,7 @@ class FeedParserTest extends AggregatorTestBase {
|
|||
$this->assertText('First example feed item title');
|
||||
$this->assertLinkByHref('http://example.com/example-turns-one');
|
||||
$this->assertText('First example feed item description.');
|
||||
$this->assertRaw('<img src="http://example.com/images/druplicon.png"');
|
||||
|
||||
// Several additional items that include elements over 255 characters.
|
||||
$this->assertRaw("Second example feed item title.");
|
||||
|
|
Loading…
Reference in New Issue