Issue #1938724 by andypost: Fixed Some displays are renamed but tests throw warnings.

8.0.x
webchick 2013-03-16 23:12:20 -07:00
parent eb313a6fea
commit 1f87ed1d0c
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ class DefaultViewRecentComments extends ViewTestBase {
*/ */
public function testBlockDisplay() { public function testBlockDisplay() {
$view = views_get_view('comments_recent'); $view = views_get_view('comments_recent');
$view->setDisplay('block'); $view->setDisplay('block_1');
$this->executeView($view); $this->executeView($view);
$map = array( $map = array(
@ -127,7 +127,7 @@ class DefaultViewRecentComments extends ViewTestBase {
*/ */
public function testPageDisplay() { public function testPageDisplay() {
$view = views_get_view('comments_recent'); $view = views_get_view('comments_recent');
$view->setDisplay('page'); $view->setDisplay('page_1');
$this->executeView($view); $this->executeView($view);
$map = array( $map = array(