We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adbea29 commit 909121fCopy full SHA for 909121f
tests/Operation/WatchFunctionalTest.php
@@ -746,6 +746,8 @@ public function testNextAdvancesKey()
746
$this->insertDocument(['x' => 1]);
747
$this->insertDocument(['x' => 2]);
748
749
+ /* Note: we intentionally do not start iteration with rewind() to ensure
750
+ * that next() behaves identically when called without rewind(). */
751
$changeStream->next();
752
753
$this->assertSame(0, $changeStream->key());
0 commit comments