Skip to content

Commit

Permalink
A more explicit test case
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Dec 28, 2013
1 parent 9426ccd commit bf19b99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Cake/Test/TestCase/ORM/ResultSetTest.php
Expand Up @@ -71,8 +71,6 @@ public function testRewind() {
/**
* Test that streaming results cannot be rewound
*
*
* @expectedException Cake\Database\Exception
* @return void
*/
public function testRewindStreaming() {
Expand All @@ -82,6 +80,7 @@ public function testRewindStreaming() {
foreach ($results as $result) {
$first[] = $result;
}
$this->setExpectedException('Cake\Database\Exception');
foreach ($results as $result) {
$second[] = $result;
}
Expand Down

0 comments on commit bf19b99

Please sign in to comment.