summaryrefslogtreecommitdiffstats
path: root/core/modules/system/src/Tests/Entity/EntityViewControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/src/Tests/Entity/EntityViewControllerTest.php')
-rw-r--r--core/modules/system/src/Tests/Entity/EntityViewControllerTest.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/core/modules/system/src/Tests/Entity/EntityViewControllerTest.php b/core/modules/system/src/Tests/Entity/EntityViewControllerTest.php
index 362f269..a80b984 100644
--- a/core/modules/system/src/Tests/Entity/EntityViewControllerTest.php
+++ b/core/modules/system/src/Tests/Entity/EntityViewControllerTest.php
@@ -46,12 +46,9 @@ class EntityViewControllerTest extends WebTestBase {
*/
function testEntityViewController() {
$get_label_markup = function($label) {
- return '<h1><div class="field field-entity-test--name field-name-name field-type-string field-label-hidden">
- <div class="field-items">
- <div class="field-item">' . $label . '</div>
- </div>
-</div>
-</h1>';
+ return '<h1>
+ <div class="field field--name-name field--type-string field--label-hidden field__item">' . $label . '</div>
+ </h1>';
};
foreach ($this->entities as $entity) {