Skip to content

Commit

Permalink
Fixing failing test introduced in last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwage committed May 25, 2010
1 parent b9965bf commit f54dce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Doctrine/Tests/ORM/Query/ExprTest.php
Expand Up @@ -191,7 +191,7 @@ public function testSubstringExpr()
*/
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()
Expand Down

0 comments on commit f54dce9

Please sign in to comment.