File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Catalog/Test/Unit/Model/ResourceModel/Product Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ public function testGetAllProductImages(): void
131131 return $ result ;
132132 };
133133
134- $ getAllProductImagesSelectFetchResults = function ($ batchSize ): array {
134+ $ getFetchResults = function ($ batchSize ): array {
135135 $ result = [];
136136 $ count = $ batchSize ;
137137 while ($ count ) {
@@ -146,7 +146,7 @@ public function testGetAllProductImages(): void
146146 ->method ('select ' )
147147 ->willReturn ($ this ->getVisibleImagesSelectMock ());
148148
149- $ fetchResult = $ getAllProductImagesSelectFetchResults ($ this ->batchSize );
149+ $ fetchResult = $ getFetchResults ($ this ->batchSize );
150150 $ this ->connectionMock ->expects ($ this ->exactly ($ this ->imagesCount / $ this ->batchSize ))
151151 ->method ('fetchAll ' )
152152 ->willReturn ($ fetchResult );
You can’t perform that action at this time.
0 commit comments