File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lib/internal/Magento/Framework/App/Test/Unit/Config Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ protected function setUp()
58
58
->disableOriginalConstructor ()
59
59
->setMethods (
60
60
[
61
- 'getBaseUrl ' ,
61
+ 'getBasePath ' ,
62
62
'getModuleName ' ,
63
63
'setModuleName ' ,
64
64
'getActionName ' ,
@@ -68,14 +68,15 @@ protected function setUp()
68
68
'setParams ' ,
69
69
'getCookie ' ,
70
70
'isSecure ' ,
71
+ 'getServer '
71
72
]
72
73
)->getMock ();
73
74
$ reflection = new \ReflectionClass (get_class ($ this ->_object ));
74
75
$ reflectionProperty = $ reflection ->getProperty ('request ' );
75
76
$ reflectionProperty ->setAccessible (true );
76
77
$ reflectionProperty ->setValue ($ this ->_object , $ requestMock );
77
78
$ requestMock ->expects ($ this ->any ())
78
- ->method ('getBaseUrl ' )
79
+ ->method ('getBasePath ' )
79
80
->willReturn ('baseUrl ' );
80
81
}
81
82
You can’t perform that action at this time.
0 commit comments