Commit 50d5ca1e authored by Steve Müller's avatar Steve Müller

add date mapping test case for Oracle platform

parent 582c8428
...@@ -412,6 +412,9 @@ class OraclePlatformTest extends AbstractPlatformTestCase ...@@ -412,6 +412,9 @@ class OraclePlatformTest extends AbstractPlatformTestCase
$this->assertEquals($expectedSql, $this->_platform->getAlterTableSQL($tableDiff)); $this->assertEquals($expectedSql, $this->_platform->getAlterTableSQL($tableDiff));
} }
/**
* @group DBAK-2555
*/
public function testInitializesDoctrineTypeMappings() public function testInitializesDoctrineTypeMappings()
{ {
$this->assertTrue($this->_platform->hasDoctrineTypeMappingFor('long raw')); $this->assertTrue($this->_platform->hasDoctrineTypeMappingFor('long raw'));
...@@ -419,6 +422,9 @@ class OraclePlatformTest extends AbstractPlatformTestCase ...@@ -419,6 +422,9 @@ class OraclePlatformTest extends AbstractPlatformTestCase
$this->assertTrue($this->_platform->hasDoctrineTypeMappingFor('raw')); $this->assertTrue($this->_platform->hasDoctrineTypeMappingFor('raw'));
$this->assertSame('binary', $this->_platform->getDoctrineTypeMapping('raw')); $this->assertSame('binary', $this->_platform->getDoctrineTypeMapping('raw'));
$this->assertTrue($this->_platform->hasDoctrineTypeMappingFor('date'));
$this->assertSame('date', $this->_platform->getDoctrineTypeMapping('date'));
} }
protected function getBinaryMaxLength() protected function getBinaryMaxLength()
......
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