• Jeremy Mikola's avatar
    Start iteration with rewind() in ChangeStream::key() test · 306e5688
    Jeremy Mikola authored
    Previously, iteration started with next(), so the first element's key was 1. Iteration should being with rewind() and the initial key should be zero.
    
    With this change, we're still testing that the key is only incremented when next() successfully increments.
    306e5688
Name
Last commit
Last update
..
Collection Loading commit data...
Database Loading commit data...
GridFS Loading commit data...
Model Loading commit data...
Operation Loading commit data...
ClientFunctionalTest.php Loading commit data...
ClientTest.php Loading commit data...
CommandObserver.php Loading commit data...
DocumentationExamplesTest.php Loading commit data...
FunctionalTestCase.php Loading commit data...
FunctionsTest.php Loading commit data...
PedantryTest.php Loading commit data...
TestCase.php Loading commit data...
bootstrap.php Loading commit data...