2009-05-27 22:54:40 +04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Doctrine\Tests;
|
|
|
|
|
|
|
|
class DbalFunctionalTestSuite extends DbalTestSuite
|
|
|
|
{
|
2009-05-30 06:27:50 +04:00
|
|
|
protected function setUp()
|
|
|
|
{
|
2009-05-30 13:37:56 +04:00
|
|
|
if ( ! isset($this->sharedFixture['conn'])) {
|
|
|
|
$this->sharedFixture['conn'] = TestUtil::getConnection();
|
2009-05-30 06:27:50 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
protected function tearDown()
|
|
|
|
{
|
2009-05-30 17:57:57 +04:00
|
|
|
$this->sharedFixture['conn']->close();
|
2009-05-30 13:37:56 +04:00
|
|
|
$this->sharedFixture = null;
|
2009-05-30 06:27:50 +04:00
|
|
|
}
|
2009-05-27 22:54:40 +04:00
|
|
|
}
|