File tree 3 files changed +2
-4
lines changed
Controller/Adminhtml/Order
Shipping/Test/Unit/Controller/Adminhtml/Order/Shipment
3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ public function load()
183
183
if ($ creditmemoId ) {
184
184
try {
185
185
$ creditmemo = $ this ->creditmemoRepository ->get ($ creditmemoId );
186
- } catch (\Exception $ e ) {
186
+ } catch (\Exception $ e ) {
187
187
$ this ->messageManager ->addErrorMessage (__ ('This creditmemo no longer exists. ' ));
188
188
return false ;
189
189
}
Original file line number Diff line number Diff line change 31
31
32
32
<waitForPageLoad stepKey =" waitForPageLoad" />
33
33
34
- <seeInCurrentUrl url =" {{AdminCreditmemosGridPage .url}}" stepKey =" redirectToCreditmemosGridPage " />
34
+ <seeInCurrentUrl url =" {{AdminCreditMemosGridPage .url}}" stepKey =" redirectToCreditMemosGridPage " />
35
35
36
36
<see selector =" {{AdminMessagesSection.error}}" userInput =' This creditmemo no longer exists.'
37
37
stepKey =" seeErrorMessage" />
Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ class ViewTest extends TestCase
87
87
*/
88
88
protected $ pageTitleMock ;
89
89
90
-
91
90
/**
92
91
* @var \Magento\Shipping\Controller\Adminhtml\Order\Shipment\View
93
92
* @var RedirectFactory|MockObject
@@ -104,7 +103,6 @@ class ViewTest extends TestCase
104
103
*/
105
104
protected $ controller ;
106
105
107
-
108
106
protected function setUp (): void
109
107
{
110
108
$ this ->requestMock = $ this ->getMockBuilder (RequestInterface::class)
You can’t perform that action at this time.
0 commit comments