Skip to content
Snippets Groups Projects
Commit 1f87ed1d authored by Angie Byron's avatar Angie Byron
Browse files

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

parent eb313a6f
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ public function setUp() { ...@@ -96,7 +96,7 @@ public function setUp() {
*/ */
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 @@ public function testBlockDisplay() { ...@@ -127,7 +127,7 @@ public function testBlockDisplay() {
*/ */
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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment