File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
app/code/Magento/Catalog/Test/Unit/Model/ResourceModel/Category Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,12 @@ public function testLoadProductCountCallsBulkMethodForLargeCategoryCount()
255
255
$ this ->connection ->expects ($ this ->once ())->method ('dropTemporaryTable ' )
256
256
->with ($ this ->stringContains ('temp_category_descendants_ ' ));
257
257
$ this ->select ->method ('from ' )->willReturnSelf ();
258
- $ this ->select ->method ('joinInner ' )->willReturnSelf ();
258
+ $ this ->select ->expects ($ this ->once ())
259
+ ->method ('joinInner ' )
260
+ ->with ( ['ce2 ' => null ],
261
+ 'ce2.path LIKE CONCAT(ce.path, \'/% \') ' ,
262
+ [])
263
+ ->willReturnSelf ();
259
264
$ this ->select ->method ('where ' )->willReturnSelf ();
260
265
$ this ->connection ->method ('select ' )->willReturn ($ this ->select );
261
266
$ this ->connection ->method ('insertFromSelect ' )->willReturn ('INSERT QUERY ' );
You can’t perform that action at this time.
0 commit comments