From 185f22668c682b547dabf1a601ef038a06935bb9 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Sun, 18 Jan 2015 18:15:03 +0100 Subject: [PATCH] #1265 DDC-3517 - correcting test docblocks --- .../OneToOneSingleTableInheritanceTest.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tests/Doctrine/Tests/ORM/Functional/OneToOneSingleTableInheritanceTest.php b/tests/Doctrine/Tests/ORM/Functional/OneToOneSingleTableInheritanceTest.php index 0411299de..1692731cf 100644 --- a/tests/Doctrine/Tests/ORM/Functional/OneToOneSingleTableInheritanceTest.php +++ b/tests/Doctrine/Tests/ORM/Functional/OneToOneSingleTableInheritanceTest.php @@ -9,16 +9,10 @@ use Doctrine\ORM\Mapping\ClassMetadata; use Doctrine\ORM\Query; use Doctrine\Tests\OrmFunctionalTestCase; -/** - * Tests a unidirectional one-to-one association mapping (without inheritance). - * Inverse side is not present. - */ class OneToOneSingleTableInheritanceTest extends OrmFunctionalTestCase { protected function setUp() { - //$this->useModelSet('ecommerce'); - parent::setUp(); $this->_schemaTool->createSchema([ @@ -28,6 +22,12 @@ class OneToOneSingleTableInheritanceTest extends OrmFunctionalTestCase ]); } + /** + * Tests a unidirectional one-to-one association mapping from an inheritance child class + * + * @group DDC-3517 + * @group #1265 + */ public function testFindFromOneToOneOwningSideJoinedTableInheritance() { $cat = new Cat(); @@ -45,7 +45,6 @@ class OneToOneSingleTableInheritanceTest extends OrmFunctionalTestCase $this->assertSame($cat->id, $foundCat->id); $this->assertInstanceOf(LitterBox::CLASSNAME, $foundCat->litterBox); $this->assertSame($cat->litterBox->id, $foundCat->litterBox->id); - } }