diff --git a/tests/generic/mongocommandcursor-dead.phpt b/tests/generic/mongocommandcursor-dead.phpt index 829784711..76e919239 100644 --- a/tests/generic/mongocommandcursor-dead.phpt +++ b/tests/generic/mongocommandcursor-dead.phpt @@ -26,6 +26,7 @@ $c = new MongoCommandCursor( 'cursor' => array( 'batchSize' => 2 ) ) ); +$c->batchSize(2); $c->rewind(); while ($c->valid()) {