added test case
This commit is contained in:
parent
235ad8e553
commit
d344407636
@ -100,6 +100,11 @@ class LanguageRecognitionTest extends \Doctrine\Tests\OrmTestCase
|
|||||||
$this->assertValidDQL('SELECT COUNT(u.id) FROM Doctrine\Tests\Models\CMS\CmsUser u');
|
$this->assertValidDQL('SELECT COUNT(u.id) FROM Doctrine\Tests\Models\CMS\CmsUser u');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testMultipleParenthesisInSelect()
|
||||||
|
{
|
||||||
|
$this->assertValidDQL('SELECT (((u.id))) as v FROM Doctrine\Tests\Models\CMS\CmsUser u');
|
||||||
|
}
|
||||||
|
|
||||||
public function testDuplicatedAliasInAggregateFunction()
|
public function testDuplicatedAliasInAggregateFunction()
|
||||||
{
|
{
|
||||||
$this->assertInvalidDQL('SELECT COUNT(u.id) AS num, SUM(u.id) AS num FROM Doctrine\Tests\Models\CMS\CmsUser u');
|
$this->assertInvalidDQL('SELECT COUNT(u.id) AS num, SUM(u.id) AS num FROM Doctrine\Tests\Models\CMS\CmsUser u');
|
||||||
|
Loading…
Reference in New Issue
Block a user