File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
app/code/Magento/Shipping/Test/Unit/Controller/Adminhtml/Order/Shipment Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,13 @@ protected function setUp()
102
102
'' ,
103
103
false
104
104
);
105
+ $ this ->resultLayoutFactoryMock = $ this ->getMock (
106
+ 'Magento\Framework\View\Result\LayoutFactory ' ,
107
+ [],
108
+ [],
109
+ '' ,
110
+ false
111
+ );
105
112
106
113
$ this ->resultPageMock = $ this ->getMockBuilder ('Magento\Framework\View\Result\Page ' )
107
114
->disableOriginalConstructor ()
@@ -153,7 +160,8 @@ protected function setUp()
153
160
$ this ->controller = new \Magento \Shipping \Controller \Adminhtml \Order \Shipment \AddComment (
154
161
$ contextMock ,
155
162
$ this ->shipmentLoaderMock ,
156
- $ this ->shipmentSenderMock
163
+ $ this ->shipmentSenderMock ,
164
+ $ this ->resultLayoutFactoryMock
157
165
);
158
166
}
159
167
You can’t perform that action at this time.
0 commit comments