Browse Source

Fix tests

merge-requests/33/head
Chi 1 year ago
parent
commit
25155dde83
  1. 6
      tests/src/Kernel/EntityViewBuilderTest.php

6
tests/src/Kernel/EntityViewBuilderTest.php

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

Loading…
Cancel
Save