@@ -154,7 +154,7 @@ class SQLServerPlatformTest extends AbstractPlatformTestCase
...
@@ -154,7 +154,7 @@ class SQLServerPlatformTest extends AbstractPlatformTestCase
publicfunctiontestModifyLimitQueryWithOffset()
publicfunctiontestModifyLimitQueryWithOffset()
{
{
$sql=$this->_platform->modifyLimitQuery('SELECT * FROM user ORDER BY username DESC',10,5);
$sql=$this->_platform->modifyLimitQuery('SELECT * FROM user ORDER BY username DESC',10,5);
$this->assertEquals('SELECT * FROM (SELECT ROW_NUMBER() OVER (ORDER BY username DESC) AS doctrine_rownum, * FROM user) AS doctrine_tbl WHERE doctrine_rownum BETWEEN 6 AND 15',$sql);
$this->assertEquals('SELECT * FROM (SELECT *, ROW_NUMBER() OVER (ORDER BY username DESC) AS doctrine_rownum FROM user) AS doctrine_tbl WHERE doctrine_rownum BETWEEN 6 AND 15',$sql);