[2.0] Fixed ExprTest that was failing due to one of my previous commits.
This commit is contained in:
parent
de29fa97f0
commit
c7dff99bbe
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user