diff --git a/core/modules/comment/lib/Drupal/comment/Tests/Views/DefaultViewRecentComments.php b/core/modules/comment/lib/Drupal/comment/Tests/Views/DefaultViewRecentComments.php index 3006f94aaece09754b98688637d8537163f54a48..46d031873559be14f04ec9051b4eadc57a107f45 100644 --- a/core/modules/comment/lib/Drupal/comment/Tests/Views/DefaultViewRecentComments.php +++ b/core/modules/comment/lib/Drupal/comment/Tests/Views/DefaultViewRecentComments.php @@ -96,7 +96,7 @@ public function setUp() { */ public function testBlockDisplay() { $view = views_get_view('comments_recent'); - $view->setDisplay('block'); + $view->setDisplay('block_1'); $this->executeView($view); $map = array( @@ -127,7 +127,7 @@ public function testBlockDisplay() { */ public function testPageDisplay() { $view = views_get_view('comments_recent'); - $view->setDisplay('page'); + $view->setDisplay('page_1'); $this->executeView($view); $map = array(