From 5cb4466f7c95a4490db683907e84691c9a868233 Mon Sep 17 00:00:00 2001 From: "Fabio B. Silva" Date: Sun, 30 Sep 2012 15:47:00 -0300 Subject: [PATCH] Fix test case --- tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2012Test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2012Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2012Test.php index 30de0deb3..eca15cea3 100755 --- a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2012Test.php +++ b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2012Test.php @@ -110,7 +110,7 @@ class DDC2012TsVectorType extends Type */ public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) { - return $platform->getBlobTypeDeclarationSQL($fieldDeclaration); + return $platform->getVarcharTypeDeclarationSQL($fieldDeclaration); } /** @@ -153,7 +153,7 @@ class DDC2012TsVectorType extends Type 'platform' => $platform, ); - // changed to upper expression to keep the teste compatible with other Databases + // changed to upper expression to keep the test compatible with other Databases //sprintf('to_tsvector(%s)', $sqlExpr); return $platform->getUpperExpression($sqlExpr);