1
0
mirror of synced 2025-01-18 06:21:40 +03:00
This commit is contained in:
romanb 2007-04-13 18:18:00 +00:00
parent 3ffe5d0f9d
commit 61dc5e19c2

View File

@ -58,11 +58,13 @@ class Doctrine_Query_Subquery_TestCase extends Doctrine_UnitTestCase
{
// ticket #307
$q = new Doctrine_Query();
$q->query("SELECT u.*, (SELECT p.name FROM User p WHERE p.name = u.name) name2 FROM User u WHERE u.name = 'zYne' LIMIT 1");
/*$q->query("SELECT u.*, (SELECT p.name FROM User p WHERE p.name = u.name) name2 FROM User u WHERE u.name = 'zYne' LIMIT 1");
$users = $q->execute();
$this->assertEqual($users->count(), 1);
*/
$this->fail("Subquery support in select part. Ticket #307.");
}
}
?>