File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed
app/code/Magento/Wishlist/Test/Unit/Controller Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -48,18 +48,7 @@ public function setUp()
48
48
{
49
49
$ this ->context = $ this ->getMock (
50
50
'Magento\Framework\App\Action\Context ' ,
51
- [
52
- // 'getRequest',
53
- // 'getResponse',
54
- // 'getObjectManager',
55
- // 'getEventManager',
56
- // 'getUrl',
57
- // 'getActionFlag',
58
- // 'getRedirect',
59
- // 'getView',
60
- // 'getMessageManager',
61
- // 'getResultFactory'
62
- ],
51
+ [],
63
52
[],
64
53
'' ,
65
54
false
Original file line number Diff line number Diff line change @@ -94,13 +94,15 @@ protected function setUp()
94
94
);
95
95
96
96
$ this ->objectManagerHelper = new ObjectManagerHelper ($ this );
97
- $ this ->context = $ this ->objectManagerHelper ->getObject ('Magento\Framework\App\Action\Context ' ,
97
+ $ this ->context = $ this ->objectManagerHelper ->getObject (
98
+ 'Magento\Framework\App\Action\Context ' ,
98
99
[
99
100
'request ' => $ this ->requestMock ,
100
101
'resultFactory ' => $ this ->resultFactoryMock
101
102
]
102
103
);
103
- $ this ->allcartController = $ this ->objectManagerHelper ->getObject ('Magento\Wishlist\Controller\Shared\Allcart ' ,
104
+ $ this ->allcartController = $ this ->objectManagerHelper ->getObject (
105
+ 'Magento\Wishlist\Controller\Shared\Allcart ' ,
104
106
[
105
107
'context ' => $ this ->context ,
106
108
'wishlistProvider ' => $ this ->wishlistProviderMock ,
You can’t perform that action at this time.
0 commit comments