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) {
|
if ($image && $label && $link_href) {
|
||||||
$link_title = array(
|
$link_title = array(
|
||||||
'#theme' => 'image',
|
'#theme' => 'image',
|
||||||
'#path' => $image,
|
'#uri' => $image,
|
||||||
'#alt' => $label,
|
'#alt' => $label,
|
||||||
);
|
);
|
||||||
$image_link = array(
|
$image_link = array(
|
||||||
|
|
|
@ -40,6 +40,7 @@ class FeedParserTest extends AggregatorTestBase {
|
||||||
$this->assertText('First example feed item title');
|
$this->assertText('First example feed item title');
|
||||||
$this->assertLinkByHref('http://example.com/example-turns-one');
|
$this->assertLinkByHref('http://example.com/example-turns-one');
|
||||||
$this->assertText('First example feed item description.');
|
$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.
|
// Several additional items that include elements over 255 characters.
|
||||||
$this->assertRaw("Second example feed item title.");
|
$this->assertRaw("Second example feed item title.");
|
||||||
|
|
Loading…
Reference in New Issue