Skip to content

Conversation

levofski
Copy link
Contributor

Since the cursor returns the wrong count, we return an array. I have
updated the unit test to work with array return type. There is a new
unit test to test the counts.

Since the cursor returns the wrong count, we return an array. I have
updated the unit test to work with array return type. There is a new
unit test to test the counts.
@Ocramius
Copy link
Member

@jmikola are we fine here then?

@jmikola
Copy link
Member

jmikola commented Jul 12, 2013

The ODM dependency should likely be bumped to 1.0.0-BETA9, as that contained the fix for this.

EDIT: Actually, now that I think about it, there wasn't really anything in ODM to fix this, was there?

$this->assertEquals(sprintf('Document %02d', $i), current($documents)->getName());
next($documents);
}
$this->assertEquals(false, next($documents));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be clearer to use $this->assertCount(5, $documents);.

@jmikola
Copy link
Member

jmikola commented Jul 12, 2013

Just did a thorough pass. I'll leave it up to @Ocramius to decide what feedback is worth addressing. Thanks for the work on this.

@levofski
Copy link
Contributor Author

Are we waiting on me for this?

@Ocramius
Copy link
Member

@levofski yep :) But nobody will hunt you down ;)

@levofski
Copy link
Contributor Author

Ah ok, I will go through the comments as soon as I can.

@Ocramius
Copy link
Member

Hey @levofski do you still have this in sight or should it be reassigned?

@levofski
Copy link
Contributor Author

Hiya sorry I am really pushed recently, if it can be reassigned that might be best.

This was referenced Feb 20, 2014
@superdweebie
Copy link
Contributor

Closing. Handled by #98

Ocramius added a commit that referenced this pull request Feb 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants