Browse Source

Closing another cursor

Jose Lorenzo Rodriguez 12 years ago
parent
commit
f833fc462d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/TestCase/Database/ConnectionTest.php

+ 2 - 0
tests/TestCase/Database/ConnectionTest.php

@@ -228,6 +228,7 @@ class ConnectionTest extends TestCase {
 		$this->assertCount(1, $result);
 		$row = $result->fetch('assoc');
 		$this->assertEquals($data, $row);
+		$result->closeCursor();
 	}
 
 /**
@@ -249,6 +250,7 @@ class ConnectionTest extends TestCase {
 		$this->assertCount(1, $result);
 		$row = $result->fetch('assoc');
 		$this->assertEquals($data, $row);
+		$result->closeCursor();
 	}
 
 /**