Skip to content

Commit 50e7f72

Browse files
author
Evgeniy Miskov
committed
MAGETWO-33059: Refactor CMS module
1 parent 959ed85 commit 50e7f72

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/unit/testsuite/Magento/Cms/Controller/Noroute

1 file changed

+1
-1
lines changed

dev/tests/unit/testsuite/Magento/Cms/Controller/Noroute/IndexTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ protected function setUp()
103103
*/
104104
public function testIndexAction($renderPage)
105105
{
106-
$this->_cmsHelperMock->expects($this->once())->method('renderPage')->will($this->returnValue($renderPage));
106+
$this->_cmsHelperMock->expects($this->once())->method('prepareResultPage')->will($this->returnValue($renderPage));
107107
$this->_requestMock->expects($this->any())->method('setActionName')->with('defaultNoRoute');
108108
$this->_controller->execute();
109109
}

0 commit comments

Comments
 (0)