1
0
mirror of synced 2025-01-18 22:41:43 +03:00

[2.0] Fixed ExprTest that was failing due to one of my previous commits.

This commit is contained in:
guilhermeblanco 2010-03-01 20:17:08 +00:00
parent de29fa97f0
commit c7dff99bbe

View File

@ -180,9 +180,9 @@ class ExprTest extends \Doctrine\Tests\OrmTestCase
$this->assertEquals('CONCAT(u.first_name, u.last_name)', (string) $this->_expr->concat('u.first_name', 'u.last_name'));
}
public function testSubstrExpr()
public function testSubstringExpr()
{
$this->assertEquals('SUBSTR(a.title, 0, 25)', (string) $this->_expr->substr('a.title', 0, 25));
$this->assertEquals('SUBSTRING(a.title, 0, 25)', (string) $this->_expr->substring('a.title', 0, 25));
}
public function testLowerExpr()