Skip to content

Commit

Permalink
Fixing errors when running tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwage committed Aug 23, 2010
1 parent acea5a1 commit 23f0a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Doctrine/Tests/DbalFunctionalTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class DbalFunctionalTestCase extends DbalTestCase

protected function resetSharedConn()
{
if ($this->sharedFixture['conn']) {
if (isset($this->sharedFixture['conn'])) {
$this->sharedFixture['conn']->close();
$this->sharedFixture['conn'] = null;
}
Expand Down

0 comments on commit 23f0a9f

Please sign in to comment.