File tree 1 file changed +3
-3
lines changed
app/code/Magento/CatalogUrlRewrite/Test/Unit/Plugin/Webapi/Controller/Rest
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -137,9 +137,9 @@ public function testAfterResolveWithCategory()
137
137
$ this ->request ->expects ($ this ->any ())->method ('getBodyParams ' )->willReturn ($ this ->requestBodyParams );
138
138
$ this ->subject = $ this ->createPartialMock (InputParamsResolver::class, ['getRoute ' ]);
139
139
$ this ->subject ->expects ($ this ->any ())->method ('getRoute ' )->willReturn ($ this ->route );
140
- $ this -> category = $ this ->createPartialMock (Category::class, ['setData ' ]);
140
+ $ category = $ this ->createPartialMock (Category::class, ['setData ' ]);
141
141
142
- $ this ->result = [false , $ this -> category , 'test ' ];
142
+ $ this ->result = [false , $ category , 'test ' ];
143
143
144
144
$ this ->objectManager = new ObjectManager ($ this );
145
145
$ this ->plugin = $ this ->objectManager ->getObject (
@@ -155,7 +155,7 @@ public function testAfterResolveWithCategory()
155
155
$ this ->route ->expects ($ this ->once ())
156
156
->method ('getServiceMethod ' )
157
157
->willReturn ('save ' );
158
- $ this -> category ->expects ($ this ->once ())
158
+ $ category ->expects ($ this ->once ())
159
159
->method ('setData ' )
160
160
->with ($ this ->saveRewritesHistory , true );
161
161
You can’t perform that action at this time.
0 commit comments