1
0
mirror of synced 2025-01-31 04:21:44 +03:00

Fixing failing test introduced in last commit.

This commit is contained in:
Jonathan H. Wage 2010-05-25 18:22:42 -04:00
parent b9965bfb1c
commit f54dce93aa

View File

@ -191,7 +191,7 @@ class ExprTest extends \Doctrine\Tests\OrmTestCase
*/
public function testSubstringExprAcceptsTwoArguments()
{
$this->assertEquals('SUBSTRING(a.title, 0)', (string) $this->_expr->substring('a.title', 5));
$this->assertEquals('SUBSTRING(a.title, 5)', (string) $this->_expr->substring('a.title', 5));
}
public function testLowerExpr()