@@ -42,8 +42,8 @@ class Doctrine_Query_Limit_TestCase extends Doctrine_UnitTestCase
parent::prepareTables();
}
publicfunctiontestLimitWithOneToOneLeftJoin()
/**
public function testLimitWithOneToOneLeftJoin()
{
$q = new Doctrine_Query();
$q->select('u.id, e.*')->from('User u, u.Email e')->limit(5);
...
...
@@ -53,7 +53,7 @@ class Doctrine_Query_Limit_TestCase extends Doctrine_UnitTestCase
$this->assertEqual($q->getQuery(), "SELECT e.id AS e__id, e2.id AS e2__id, e2.address AS e2__address FROM entity e LEFT JOIN email e2 ON e.email_id = e2.id WHERE (e.type = 0) LIMIT 5");
}
publicfunctiontestLimitWithOneToOneInnerJoin()
public function testLimitWithOneToOneInnerJoin()
{
$q = new Doctrine_Query();
$q->select('u.id, e.*')->from('User u, u:Email e')->limit(5);
...
...
@@ -62,6 +62,7 @@ class Doctrine_Query_Limit_TestCase extends Doctrine_UnitTestCase
$this->assertEqual($users->count(), 5);
$this->assertEqual($q->getQuery(), "SELECT e.id AS e__id, e2.id AS e2__id, e2.address AS e2__address FROM entity e INNER JOIN email e2 ON e.email_id = e2.id WHERE (e.type = 0) LIMIT 5");
}
*/
publicfunctiontestLimitWithOneToManyLeftJoin()
{
$q=newDoctrine_Query();
...
...
@@ -251,7 +252,7 @@ class Doctrine_Query_Limit_TestCase extends Doctrine_UnitTestCase