diff --git a/core/modules/views/src/Tests/Plugin/StyleMappingTest.php b/core/modules/views/src/Tests/Plugin/StyleMappingTest.php index b6aeb0b..58984fe 100644 --- a/core/modules/views/src/Tests/Plugin/StyleMappingTest.php +++ b/core/modules/views/src/Tests/Plugin/StyleMappingTest.php @@ -53,7 +53,7 @@ protected function mappedOutputHelper($view) { $output = $view->preview(); $rendered_output = \Drupal::service('renderer')->renderRoot($output); $this->storeViewPreview($rendered_output); - $rows = $this->elements->body->div->div->div; + $rows = $this->elements->body->div->div; $data_set = $this->dataSet(); $count = 0; diff --git a/core/modules/views/src/Tests/Plugin/StyleUnformattedTest.php b/core/modules/views/src/Tests/Plugin/StyleUnformattedTest.php index 40c534d..ae0ef10 100644 --- a/core/modules/views/src/Tests/Plugin/StyleUnformattedTest.php +++ b/core/modules/views/src/Tests/Plugin/StyleUnformattedTest.php @@ -32,7 +32,7 @@ function testDefaultRowClasses() { $output = $view->preview(); $this->storeViewPreview(\Drupal::service('renderer')->renderRoot($output)); - $rows = $this->elements->body->div->div->div; + $rows = $this->elements->body->div->div; $count = 0; $count_result = count($view->result); foreach ($rows as $row) { diff --git a/core/modules/views/templates/views-view.html.twig b/core/modules/views/templates/views-view.html.twig index 9a661b8..4f8203f 100644 --- a/core/modules/views/templates/views-view.html.twig +++ b/core/modules/views/templates/views-view.html.twig @@ -39,55 +39,30 @@ %}