Skip to content

Commit 02c9c4a

Browse files
[2.3] Cleanup deprecations
1 parent 017495b commit 02c9c4a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Tests/DoctrineOrmTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* Class DoctrineOrmTestCase.
1818
*
19-
* @deprecated Deprecated as of Symfony 2.4, to be removed in Symfony 3.0.
19+
* @deprecated Deprecated as of Symfony 2.3, to be removed in Symfony 3.0.
2020
* Use {@link DoctrineTestHelper} instead.
2121
*/
2222
abstract class DoctrineOrmTestCase extends \PHPUnit_Framework_TestCase

Tests/Form/ChoiceList/ORMQueryBuilderLoaderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;
1313

1414
use Symfony\Bridge\Doctrine\Form\ChoiceList\ORMQueryBuilderLoader;
15-
use Symfony\Bridge\Doctrine\Tests\DoctrineOrmTestCase;
15+
use Symfony\Bridge\Doctrine\Test\DoctrineTestHelper;
1616
use Doctrine\DBAL\Connection;
1717

18-
class ORMQueryBuilderLoaderTest extends DoctrineOrmTestCase
18+
class ORMQueryBuilderLoaderTest extends DoctrineTestHelper
1919
{
2020
/**
2121
* @expectedException \Symfony\Component\Form\Exception\UnexpectedTypeException

Tests/Form/Type/EntityTypePerformanceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\Form\Test\FormPerformanceTestCase;
1515
use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdEntity;
1616
use Doctrine\ORM\Tools\SchemaTool;
17-
use Symfony\Bridge\Doctrine\Tests\DoctrineOrmTestCase;
17+
use Symfony\Bridge\Doctrine\Test\DoctrineTestHelper;
1818
use Symfony\Component\Form\Extension\Core\CoreExtension;
1919
use Symfony\Bridge\Doctrine\Form\DoctrineOrmExtension;
2020

@@ -66,7 +66,7 @@ protected function setUp()
6666
$this->markTestSkipped('Doctrine ORM is not available.');
6767
}
6868

69-
$this->em = DoctrineOrmTestCase::createTestEntityManager();
69+
$this->em = DoctrineTestHelper::createTestEntityManager();
7070

7171
parent::setUp();
7272

0 commit comments

Comments
 (0)