Permalink
Browse files

Fix test case

  • Loading branch information...
1 parent 4510f5a commit 5cb4466f7c95a4490db683907e84691c9a868233 @FabioBatSilva FabioBatSilva committed Sep 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2012Test.php
View
4 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 @@ public function convertToDatabaseValueSQL($sqlExpr, AbstractPlatform $platform)
'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);

0 comments on commit 5cb4466

Please sign in to comment.