Commit 71b1f709 authored by guilhermeblanco's avatar guilhermeblanco

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

parent 584491d4
......@@ -113,7 +113,7 @@ class QueryBuilder
* ->from('User', 'u')
* ->where($qb->expr()->eq('u.id', 1));
*
* @return ExpressionBuilder
* @return Expr
*/
public function expr()
{
......
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment