Commit c7dff99b authored by guilhermeblanco's avatar guilhermeblanco

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

parent de29fa97
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment