File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/Cms/Test/Unit/Controller Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ protected function setUp()
78
78
public function testMatchCmsControllerRouterMatchBeforeEventParams ()
79
79
{
80
80
$ identifier = '/test ' ;
81
- $ trimedIdentifier = 'test ' ;
81
+ $ trimmedIdentifier = 'test ' ;
82
82
$ pageId = 1 ;
83
83
$ storeId = 1 ;
84
84
@@ -114,10 +114,10 @@ public function testMatchCmsControllerRouterMatchBeforeEventParams()
114
114
->willReturnSelf ();
115
115
$ requestMock ->expects ($ this ->once ())
116
116
->method ('setAlias ' )
117
- ->with (\Magento \Framework \Url::REWRITE_REQUEST_PATH_ALIAS , $ trimedIdentifier )
117
+ ->with (\Magento \Framework \Url::REWRITE_REQUEST_PATH_ALIAS , $ trimmedIdentifier )
118
118
->willReturnSelf ();
119
119
120
- $ condition = new \Magento \Framework \DataObject (['identifier ' => $ trimedIdentifier , 'continue ' => true ]);
120
+ $ condition = new \Magento \Framework \DataObject (['identifier ' => $ trimmedIdentifier , 'continue ' => true ]);
121
121
122
122
$ this ->eventManagerMock ->expects ($ this ->once ())
123
123
->method ('dispatch ' )
@@ -135,7 +135,7 @@ public function testMatchCmsControllerRouterMatchBeforeEventParams()
135
135
->getMock ();
136
136
$ pageMock ->expects ($ this ->once ())
137
137
->method ('checkIdentifier ' )
138
- ->with ($ trimedIdentifier , $ storeId )
138
+ ->with ($ trimmedIdentifier , $ storeId )
139
139
->willReturn ($ pageId );
140
140
141
141
$ this ->pageFactoryMock ->expects ($ this ->once ())
You can’t perform that action at this time.
0 commit comments