From 1f87ed1d0cadcbdd48e98efcb0db96d59cca18e5 Mon Sep 17 00:00:00 2001
From: webchick <webchick@24967.no-reply.drupal.org>
Date: Sat, 16 Mar 2013 23:12:20 -0700
Subject: [PATCH] Issue #1938724 by andypost: Fixed Some displays are renamed
 but tests throw warnings.

---
 .../Drupal/comment/Tests/Views/DefaultViewRecentComments.php  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 3006f94aaece..46d031873559 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(
-- 
GitLab