From c7dff99bbec605b3fd23ec182303c3dac947dffc Mon Sep 17 00:00:00 2001 From: guilhermeblanco Date: Mon, 1 Mar 2010 20:17:08 +0000 Subject: [PATCH] [2.0] Fixed ExprTest that was failing due to one of my previous commits. --- tests/Doctrine/Tests/ORM/Query/ExprTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Doctrine/Tests/ORM/Query/ExprTest.php b/tests/Doctrine/Tests/ORM/Query/ExprTest.php index 3b5d23d83..283398792 100644 --- a/tests/Doctrine/Tests/ORM/Query/ExprTest.php +++ b/tests/Doctrine/Tests/ORM/Query/ExprTest.php @@ -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()