Commit 5b617a62 authored by Steve Müller's avatar Steve Müller

move test case

parent 762bc543
...@@ -783,4 +783,13 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa ...@@ -783,4 +783,13 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
'ALTER INDEX idx_foo RENAME TO idx_foo_renamed', 'ALTER INDEX idx_foo RENAME TO idx_foo_renamed',
); );
} }
/**
* @group DBAL-1142
*/
public function testInitializesTsvectorTypeMapping()
{
$this->assertTrue($this->_platform->hasDoctrineTypeMappingFor('tsvector'));
$this->assertEquals('text', $this->_platform->getDoctrineTypeMapping('tsvector'));
}
} }
...@@ -15,11 +15,4 @@ class PostgreSqlPlatformTest extends AbstractPostgreSqlPlatformTestCase ...@@ -15,11 +15,4 @@ class PostgreSqlPlatformTest extends AbstractPostgreSqlPlatformTestCase
{ {
$this->assertTrue($this->_platform->supportsPartialIndexes()); $this->assertTrue($this->_platform->supportsPartialIndexes());
} }
public function testInitializesTsvectorTypeMapping()
{
$this->assertTrue($this->_platform->hasDoctrineTypeMappingFor('tsvector'));
$this->assertEquals('text', $this->_platform->getDoctrineTypeMapping('tsvector'));
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment