Skip to content

Commit

Permalink
Merge branch '865-add-getParams-setParams-to-request-interface' of gi…
Browse files Browse the repository at this point in the history
…thub.com:ashsmith/magento2 into 865-add-getParams-setParams-to-request-interface

Conflicts:
	dev/tests/unit/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute/SaveTest.php
  • Loading branch information
Ash Smith committed Feb 20, 2015
2 parents 5ec1d34 + 0536112 commit ffbeaeb
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,8 @@ protected function prepareContext()
->disableOriginalConstructor()
->getMock();

$this->request = $this->getMock(
'Magento\Framework\App\RequestInterface',
['getParam', 'getModuleName', 'setModuleName', 'getActionName', 'setActionName', 'getCookie', 'getParams', 'setParams'],
[],
'',
false
);
$this->request = $this->getMockBuilder('Magento\Framework\App\RequestInterface')
->disableOriginalConstructor()->getMock();
$this->response = $this->getMock('Magento\Framework\App\Response\Http', [], [], '', false);
$this->objectManager = $this->getMock('Magento\Framework\ObjectManagerInterface');
$this->eventManager = $this->getMock('Magento\Framework\Event\ManagerInterface', [], [], '', false);
Expand Down

0 comments on commit ffbeaeb

Please sign in to comment.