File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/CurrencySymbol
Controller/Adminhtml/System/Currencysymbol
Test/Unit/Controller/Adminhtml/System/Currencysymbol Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,6 @@ public function execute()
67
67
$ this ->messageManager ->addErrorMessage ($ e ->getMessage ());
68
68
}
69
69
70
- return $ resultRedirect ->setPath ('* ' );
70
+ return $ resultRedirect ->setPath ('adminhtml/*/ ' );
71
71
}
72
72
}
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ public function testExecute()
132
132
->with (__ ('You applied the custom currency symbols. ' ));
133
133
134
134
$ redirect = $ this ->createMock (Redirect::class);
135
- $ redirect ->expects ($ this ->once ())->method ('setPath ' )->with ('* ' )->willReturnSelf ();
135
+ $ redirect ->expects ($ this ->once ())->method ('setPath ' )->with ('adminhtml/*/ ' )->willReturnSelf ();
136
136
$ this ->resultRedirectFactory ->method ('create ' )->willReturn ($ redirect );
137
137
138
138
$ this ->assertEquals ($ redirect , $ this ->action ->execute ());
You can’t perform that action at this time.
0 commit comments