File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
app/code/Magento/UrlRewrite/Test/Unit/Controller Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 77
88namespace Magento \UrlRewrite \Test \Unit \Controller ;
99
10+ use Laminas \Stdlib \Parameters ;
1011use Laminas \Stdlib \ParametersInterface ;
1112use Magento \Framework \App \Action \Forward ;
1213use Magento \Framework \App \Action \Redirect ;
@@ -89,7 +90,9 @@ protected function setUp(): void
8990 ->addMethods (['setRedirect ' ])
9091 ->onlyMethods (['sendResponse ' ])
9192 ->getMockForAbstractClass ();
92- $ this ->requestQuery = $ this ->createMock (ParametersInterface::class);
93+ $ this ->requestQuery = $ this ->getMockBuilder (Parameters::class)
94+ ->onlyMethods (['__serialize ' , '__unserialize ' ])
95+ ->getMock ();
9396 $ this ->request = $ this ->getMockBuilder (Http::class)
9497 ->disableOriginalConstructor ()
9598 ->getMock ();
You can’t perform that action at this time.
0 commit comments