Skip to content
Permalink
Browse files

A more explicit test case

  • Loading branch information...
lorenzo committed Dec 28, 2013
1 parent 9426ccd commit bf19b992dc3ed3d344a71fc13dad8dca41aa6fd1
Showing with 1 addition and 2 deletions.
  1. +1 −2 Cake/Test/TestCase/ORM/ResultSetTest.php
@@ -71,8 +71,6 @@ public function testRewind() {
/**
* Test that streaming results cannot be rewound
*
*
* @expectedException Cake\Database\Exception
* @return void
*/
public function testRewindStreaming() {
@@ -82,6 +80,7 @@ public function testRewindStreaming() {
foreach ($results as $result) {
$first[] = $result;
}
$this->setExpectedException('Cake\Database\Exception');
foreach ($results as $result) {
$second[] = $result;
}

0 comments on commit bf19b99

Please sign in to comment.
You can’t perform that action at this time.