Skip to content

Commit ffbeaeb

Browse files
author
Ash Smith
committed
Merge branch '865-add-getParams-setParams-to-request-interface' of github.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
2 parents 5ec1d34 + 0536112 commit ffbeaeb

File tree

1 file changed

+2
-7
lines changed
  • dev/tests/unit/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute

1 file changed

+2
-7
lines changed

dev/tests/unit/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute/SaveTest.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,8 @@ protected function prepareContext()
151151
->disableOriginalConstructor()
152152
->getMock();
153153

154-
$this->request = $this->getMock(
155-
'Magento\Framework\App\RequestInterface',
156-
['getParam', 'getModuleName', 'setModuleName', 'getActionName', 'setActionName', 'getCookie', 'getParams', 'setParams'],
157-
[],
158-
'',
159-
false
160-
);
154+
$this->request = $this->getMockBuilder('Magento\Framework\App\RequestInterface')
155+
->disableOriginalConstructor()->getMock();
161156
$this->response = $this->getMock('Magento\Framework\App\Response\Http', [], [], '', false);
162157
$this->objectManager = $this->getMock('Magento\Framework\ObjectManagerInterface');
163158
$this->eventManager = $this->getMock('Magento\Framework\Event\ManagerInterface', [], [], '', false);

0 commit comments

Comments
 (0)