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 7
7
8
8
namespace Magento \UrlRewrite \Test \Unit \Controller ;
9
9
10
+ use Laminas \Stdlib \Parameters ;
10
11
use Laminas \Stdlib \ParametersInterface ;
11
12
use Magento \Framework \App \Action \Forward ;
12
13
use Magento \Framework \App \Action \Redirect ;
@@ -89,7 +90,9 @@ protected function setUp(): void
89
90
->addMethods (['setRedirect ' ])
90
91
->onlyMethods (['sendResponse ' ])
91
92
->getMockForAbstractClass ();
92
- $ this ->requestQuery = $ this ->createMock (ParametersInterface::class);
93
+ $ this ->requestQuery = $ this ->getMockBuilder (Parameters::class)
94
+ ->onlyMethods (['__serialize ' , '__unserialize ' ])
95
+ ->getMock ();
93
96
$ this ->request = $ this ->getMockBuilder (Http::class)
94
97
->disableOriginalConstructor ()
95
98
->getMock ();
You can’t perform that action at this time.
0 commit comments