From 49b53465ee11b770eeffa35600713dde33095938 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Fri, 4 Apr 2014 00:11:32 +0100 Subject: [PATCH] Fixed test after fixed batch size usage. --- tests/generic/mongocommandcursor-dead.phpt | 1 + 1 file changed, 1 insertion(+) 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()) {