Skip to content

Commit fffe3b3

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

File tree

1 file changed

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

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,13 @@ protected function setUp()
103103
*/
104104
public function testIndexAction($renderPage)
105105
{
106-
$this->_cmsHelperMock->expects($this->once())->method('prepareResultPage')->will($this->returnValue($renderPage));
106+
$this->_cmsHelperMock->expects(
107+
$this->once()
108+
)->method(
109+
'prepareResultPage'
110+
)->will(
111+
$this->returnValue($renderPage)
112+
);
107113
$this->_requestMock->expects($this->any())->method('setActionName')->with('defaultNoRoute');
108114
$this->_controller->execute();
109115
}

0 commit comments

Comments
 (0)