Commit 09d4cf67 authored by Steve Müller's avatar Steve Müller Committed by Marco Pivetta

add date mapping test case for Oracle platform

parent b1b4abdb
...@@ -414,6 +414,9 @@ class OraclePlatformTest extends AbstractPlatformTestCase ...@@ -414,6 +414,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'));
...@@ -421,6 +424,9 @@ class OraclePlatformTest extends AbstractPlatformTestCase ...@@ -421,6 +424,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