diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3346Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3346Test.php index 7ae4fa70603..e02788c6959 100644 --- a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3346Test.php +++ b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3346Test.php @@ -14,12 +14,10 @@ public function setUp() { parent::setUp(); - $this->setUpEntitySchema( - array( - DDC3346Author::CLASSNAME, - DDC3346Article::CLASSNAME, - ) - ); + $this->setUpEntitySchema(array( + DDC3346Author::CLASSNAME, + DDC3346Article::CLASSNAME, + )); } public function testFindOneWithEagerFetchWillNotHydrateLimitedCollection() @@ -40,7 +38,7 @@ public function testFindOneWithEagerFetchWillNotHydrateLimitedCollection() $this->_em->clear(); /** @var DDC3346Author $author */ - $author = $this->_em->getRepository('Doctrine\Tests\Models\DDC3346\DDC3346Author')->findOneBy( + $author = $this->_em->getRepository(DDC3346Author::CLASSNAME)->findOneBy( array('username' => "bwoogy") ); @@ -65,7 +63,7 @@ public function testFindLimitedWithEagerFetchWillNotHydrateLimitedCollection() $this->_em->clear(); /** @var DDC3346Author[] $authors */ - $authors = $this->_em->getRepository('Doctrine\Tests\Models\DDC3346\DDC3346Author')->findBy( + $authors = $this->_em->getRepository(DDC3346Author::CLASSNAME)->findBy( array('username' => "bwoogy"), null, 1 @@ -93,7 +91,7 @@ public function testFindWithEagerFetchAndOffsetWillNotHydrateLimitedCollection() $this->_em->clear(); /** @var DDC3346Author[] $authors */ - $authors = $this->_em->getRepository('Doctrine\Tests\Models\DDC3346\DDC3346Author')->findBy( + $authors = $this->_em->getRepository(DDC3346Author::CLASSNAME)->findBy( array('username' => "bwoogy"), null, null,