[2.0] Removed wrong unit test. Fixed phpDoc of QueryBuilder that was pointing to an unknown object.
This commit is contained in:
parent
584491d462
commit
71b1f709c8
@ -113,7 +113,7 @@ class QueryBuilder
|
|||||||
* ->from('User', 'u')
|
* ->from('User', 'u')
|
||||||
* ->where($qb->expr()->eq('u.id', 1));
|
* ->where($qb->expr()->eq('u.id', 1));
|
||||||
*
|
*
|
||||||
* @return ExpressionBuilder
|
* @return Expr
|
||||||
*/
|
*/
|
||||||
public function 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()
|
public function testSingleValuedAssociationNullCheckOnOwningSide()
|
||||||
{
|
{
|
||||||
$this->assertSqlGeneration(
|
$this->assertSqlGeneration(
|
||||||
|
Loading…
Reference in New Issue
Block a user