File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/CatalogSearch/Test/Unit/Controller/Advanced Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,12 @@ public function testUrlSetOnException()
5959 $ redirectResultMock ->expects ($ this ->once ())
6060 ->method ('setUrl ' );
6161
62- $ resultRedirectFactoryMock = $ this ->getMockBuilder (\Magento \Framework \Controller \Result \RedirectFactory::class)
62+ $ redirectFactoryMock = $ this ->getMockBuilder (\Magento \Framework \Controller \Result \RedirectFactory::class)
6363 ->setMethods (['create ' ])
6464 ->disableOriginalConstructor ()
6565 ->getMock ();
6666
67- $ resultRedirectFactoryMock ->expects ($ this ->any ())
67+ $ redirectFactoryMock ->expects ($ this ->any ())
6868 ->method ('create ' )
6969 ->willReturn ($ redirectResultMock );
7070
@@ -111,7 +111,7 @@ public function testUrlSetOnException()
111111 ->willReturn ($ eventManagerMock );
112112 $ contextMock ->expects ($ this ->any ())
113113 ->method ('getResultRedirectFactory ' )
114- ->willReturn ($ resultRedirectFactoryMock );
114+ ->willReturn ($ redirectFactoryMock );
115115
116116 $ urlMock = $ this ->createMock (\Magento \Framework \Url::class);
117117 $ urlMock ->expects ($ this ->once ())
You can’t perform that action at this time.
0 commit comments