|
|
|
|
@ -92,7 +92,7 @@ final class EntityViewBuilderTest extends AbstractTestCase {
|
|
|
|
|
</article> |
|
|
|
|
HTML; |
|
|
|
|
$actual_html = $this->renderPlain($build); |
|
|
|
|
self::assertSame(self::normalizeHtml($expected_html), self::normalizeHtml($actual_html)); |
|
|
|
|
self::assertSame(htmlspecialchars(self::normalizeHtml($expected_html)), htmlspecialchars(self::normalizeHtml($actual_html))); |
|
|
|
|
|
|
|
|
|
// -- Teaser mode. |
|
|
|
|
$build = $view_builder->build($public_node, 'teaser'); |
|
|
|
|
|