File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
lib/internal/Magento/Framework/Mview/Test/Unit Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,6 @@ public function testUpdate()
263
263
$ currentVersionId = 3 ;
264
264
$ lastVersionId = 1 ;
265
265
$ listId = [2 , 3 ];
266
- $ defaultBatchSize = 1000 ;
267
266
268
267
$ this ->stateMock ->expects ($ this ->any ())
269
268
->method ('getViewId ' )
@@ -297,7 +296,7 @@ public function testUpdate()
297
296
'getList '
298
297
)->with (
299
298
$ lastVersionId ,
300
- $ lastVersionId + $ defaultBatchSize
299
+ $ currentVersionId
301
300
)->will (
302
301
$ this ->returnValue ($ listId )
303
302
);
@@ -327,7 +326,6 @@ public function testUpdateWithException()
327
326
$ currentVersionId = 3 ;
328
327
$ lastVersionId = 1 ;
329
328
$ listId = [2 , 3 ];
330
- $ defaultBatchSize = 1000 ;
331
329
332
330
$ this ->stateMock ->expects ($ this ->any ())
333
331
->method ('getViewId ' )
@@ -360,7 +358,7 @@ public function testUpdateWithException()
360
358
'getList '
361
359
)->with (
362
360
$ lastVersionId ,
363
- $ lastVersionId + $ defaultBatchSize
361
+ $ currentVersionId
364
362
)->will (
365
363
$ this ->returnValue ($ listId )
366
364
);
You can’t perform that action at this time.
0 commit comments