Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Closing another cursor
  • Loading branch information
lorenzo committed Mar 29, 2014
1 parent 2187fdd commit f833fc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/TestCase/Database/ConnectionTest.php
Expand Up @@ -228,6 +228,7 @@ public function testInsertWithMatchingTypes() {
$this->assertCount(1, $result);
$row = $result->fetch('assoc');
$this->assertEquals($data, $row);
$result->closeCursor();
}

/**
Expand All @@ -249,6 +250,7 @@ public function testInsertWithPositionalTypes() {
$this->assertCount(1, $result);
$row = $result->fetch('assoc');
$this->assertEquals($data, $row);
$result->closeCursor();
}

/**
Expand Down

0 comments on commit f833fc4

Please sign in to comment.