1
0
mirror of synced 2024-12-13 14:56:01 +03:00

[2.0] Removed wrong unit test. Fixed phpDoc of QueryBuilder that was pointing to an unknown object.

This commit is contained in:
guilhermeblanco 2010-03-16 20:31:36 +00:00
parent 584491d462
commit 71b1f709c8
2 changed files with 1 additions and 9 deletions

View File

@ -113,7 +113,7 @@ class QueryBuilder
* ->from('User', 'u')
* ->where($qb->expr()->eq('u.id', 1));
*
* @return ExpressionBuilder
* @return Expr
*/
public function expr()
{

View File

@ -527,14 +527,6 @@ class SelectSqlGenerationTest extends \Doctrine\Tests\OrmTestCase
);
}
public function testSupportResultVariableInWherePart()
{
$this->assertSqlGeneration(
"SELECT p.phonenumber, COUNT(p.user) AS total FROM Doctrine\Tests\Models\CMS\CmsPhonenumber p WHERE total > 0 GROUP BY p.user",
"SELECT c0_.phonenumber AS phonenumber0, COUNT(c0_.user_id) AS sclr1 FROM cms_phonenumbers c0_ WHERE sclr1 > 0 GROUP BY c0_.user_id"
);
}
public function testSingleValuedAssociationNullCheckOnOwningSide()
{
$this->assertSqlGeneration(