Skip to content

Commit

Permalink
Correted indentation and variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
kwiateusz committed Jul 26, 2011
1 parent 49c7351 commit 1ea3e54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Doctrine/Tests/ORM/Functional/Ticket/DDC237Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function testUninitializedProxyIsInitializedOnFetchJoin()
$z2 = $this->_em->createQuery('select z,y from ' . get_class($z) . ' z join z.y y where z.id = ?1')
->setParameter(1, $z->id)
->getSingleResult();
$this->assertInstanceOf('Doctrine\ORM\Proxy\Proxy', $x2->y);
$this->assertInstanceOf('Doctrine\ORM\Proxy\Proxy', $z2->y);
$this->assertTrue($z2->y->__isInitialized__);
$this->assertEquals('Y', $z2->y->data);
$this->assertEquals($y->id, $z2->y->id);
Expand All @@ -56,7 +56,7 @@ public function testUninitializedProxyIsInitializedOnFetchJoin()
$this->assertNotSame($x, $x2);
$this->assertNotSame($z, $z2);
$this->assertSame($z2->y, $x2->y);
$this->assertInstanceOf('Doctrine\ORM\Proxy\Proxy', $x2->y);
$this->assertInstanceOf('Doctrine\ORM\Proxy\Proxy', $z2->y);

}
}
Expand Down

0 comments on commit 1ea3e54

Please sign in to comment.