diff --git a/tests/Symfony/Tests/Bridge/Doctrine/Form/DoctrineOrmTestCase.php b/tests/Symfony/Tests/Bridge/Doctrine/DoctrineOrmTestCase.php similarity index 96% rename from tests/Symfony/Tests/Bridge/Doctrine/Form/DoctrineOrmTestCase.php rename to tests/Symfony/Tests/Bridge/Doctrine/DoctrineOrmTestCase.php index d4f0266ccf..d4647e8f56 100644 --- a/tests/Symfony/Tests/Bridge/Doctrine/Form/DoctrineOrmTestCase.php +++ b/tests/Symfony/Tests/Bridge/Doctrine/DoctrineOrmTestCase.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace Symfony\Tests\Bridge\Doctrine\Form; +namespace Symfony\Tests\Bridge\Doctrine; use Symfony\Bridge\Doctrine\Annotations\IndexedReader; use Doctrine\Common\Annotations\AnnotationReader; diff --git a/tests/Symfony/Tests/Bridge/Doctrine/Fixtures/AssociationEntity.php b/tests/Symfony/Tests/Bridge/Doctrine/Fixtures/AssociationEntity.php index 2e5ac3fef2..b9c8f9d9b9 100644 --- a/tests/Symfony/Tests/Bridge/Doctrine/Fixtures/AssociationEntity.php +++ b/tests/Symfony/Tests/Bridge/Doctrine/Fixtures/AssociationEntity.php @@ -1,6 +1,6 @@ createSchema(array( - $em->getClassMetadata('Symfony\Tests\Bridge\Doctrine\Form\Fixtures\SingleIdentEntity'), - $em->getClassMetadata('Symfony\Tests\Bridge\Doctrine\Form\Fixtures\CompositeIdentEntity'), - $em->getClassMetadata('Symfony\Tests\Bridge\Doctrine\Form\Fixtures\AssociationEntity'), + $em->getClassMetadata('Symfony\Tests\Bridge\Doctrine\Fixtures\SingleIdentEntity'), + $em->getClassMetadata('Symfony\Tests\Bridge\Doctrine\Fixtures\CompositeIdentEntity'), + $em->getClassMetadata('Symfony\Tests\Bridge\Doctrine\Fixtures\AssociationEntity'), )); } @@ -171,7 +171,7 @@ class UniqueValidatorTest extends DoctrineOrmTestCase $entityManagerName = "foo"; $em = $this->createTestEntityManager(); $this->createSchema($em); - $validator = $this->createValidator($entityManagerName, $em, 'Symfony\Tests\Bridge\Doctrine\Form\Fixtures\AssociationEntity', array('single')); + $validator = $this->createValidator($entityManagerName, $em, 'Symfony\Tests\Bridge\Doctrine\Fixtures\AssociationEntity', array('single')); $entity1 = new SingleIdentEntity(1, 'foo'); $associated = new AssociationEntity(); @@ -202,7 +202,7 @@ class UniqueValidatorTest extends DoctrineOrmTestCase $entityManagerName = "foo"; $em = $this->createTestEntityManager(); $this->createSchema($em); - $validator = $this->createValidator($entityManagerName, $em, 'Symfony\Tests\Bridge\Doctrine\Form\Fixtures\AssociationEntity', array('composite')); + $validator = $this->createValidator($entityManagerName, $em, 'Symfony\Tests\Bridge\Doctrine\Fixtures\AssociationEntity', array('composite')); $composite = new CompositeIdentEntity(1, 1, "test"); $associated = new AssociationEntity();