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
131
131
return $ result ;
132
132
};
133
133
134
- $ getAllProductImagesSelectFetchResults = function ($ batchSize ): array {
134
+ $ getFetchResults = function ($ batchSize ): array {
135
135
$ result = [];
136
136
$ count = $ batchSize ;
137
137
while ($ count ) {
@@ -146,7 +146,7 @@ public function testGetAllProductImages(): void
146
146
->method ('select ' )
147
147
->willReturn ($ this ->getVisibleImagesSelectMock ());
148
148
149
- $ fetchResult = $ getAllProductImagesSelectFetchResults ($ this ->batchSize );
149
+ $ fetchResult = $ getFetchResults ($ this ->batchSize );
150
150
$ this ->connectionMock ->expects ($ this ->exactly ($ this ->imagesCount / $ this ->batchSize ))
151
151
->method ('fetchAll ' )
152
152
->willReturn ($ fetchResult );
You can’t perform that action at this time.
0 commit comments