1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/tests/Doctrine/Tests/OrmFunctionalTestSuite.php

25 lines
633 B
PHP
Raw Normal View History

2009-01-04 19:15:32 +03:00
<?php
namespace Doctrine\Tests;
2009-01-04 19:15:32 +03:00
2008-05-24 21:37:26 +04:00
/**
* The outermost test suite for all orm related testcases & suites.
*
* Currently the orm suite uses a normal connection object.
* Upon separation of the DBAL and ORM package this suite should just use a orm
* connection/session/manager instance as the shared fixture.
*/
class OrmFunctionalTestSuite extends OrmTestSuite
2008-05-24 21:37:26 +04:00
{
protected function setUp()
{
if ( ! isset($this->sharedFixture['conn'])) {
$this->sharedFixture['conn'] = TestUtil::getConnection();
}
2008-05-24 21:37:26 +04:00
}
protected function tearDown()
{
$this->sharedFixture = null;
}
2008-05-24 21:37:26 +04:00
}