|
|
@ -86,7 +86,7 @@ final class EntityViewBuilderTest extends AbstractTestCase { |
|
|
|
self::assertCache($expected_cache, $build['#cache']); |
|
|
|
self::assertCache($expected_cache, $build['#cache']); |
|
|
|
|
|
|
|
|
|
|
|
$expected_html = <<< 'HTML' |
|
|
|
$expected_html = <<< 'HTML' |
|
|
|
<article role="article"> |
|
|
|
<article> |
|
|
|
<h2><a href="/node/1" rel="bookmark"><span>Public node</span></a></h2> |
|
|
|
<h2><a href="/node/1" rel="bookmark"><span>Public node</span></a></h2> |
|
|
|
<div></div> |
|
|
|
<div></div> |
|
|
|
</article> |
|
|
|
</article> |
|
|
@ -119,7 +119,7 @@ final class EntityViewBuilderTest extends AbstractTestCase { |
|
|
|
self::assertCache($expected_cache, $build['#cache']); |
|
|
|
self::assertCache($expected_cache, $build['#cache']); |
|
|
|
|
|
|
|
|
|
|
|
$expected_html = <<< 'HTML' |
|
|
|
$expected_html = <<< 'HTML' |
|
|
|
<article role="article"> |
|
|
|
<article> |
|
|
|
<h2><a href="/node/1" rel="bookmark"><span>Public node</span></a></h2> |
|
|
|
<h2><a href="/node/1" rel="bookmark"><span>Public node</span></a></h2> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<ul class="links inline"> |
|
|
|
<ul class="links inline"> |
|
|
@ -174,7 +174,7 @@ final class EntityViewBuilderTest extends AbstractTestCase { |
|
|
|
self::assertCache($expected_cache, $build['#cache']); |
|
|
|
self::assertCache($expected_cache, $build['#cache']); |
|
|
|
|
|
|
|
|
|
|
|
$expected_html = <<< 'HTML' |
|
|
|
$expected_html = <<< 'HTML' |
|
|
|
<article role="article"> |
|
|
|
<article> |
|
|
|
<h2><a href="/node/2" rel="bookmark"><span>Private node</span></a></h2> |
|
|
|
<h2><a href="/node/2" rel="bookmark"><span>Private node</span></a></h2> |
|
|
|
<div></div> |
|
|
|
<div></div> |
|
|
|
</article> |
|
|
|
</article> |
|
|
|