adding test case for previous commit
This commit is contained in:
parent
0c9c3767c2
commit
599446ad07
1 changed files with 7 additions and 0 deletions
|
@ -187,6 +187,13 @@ class Doctrine_DataDict_Pgsql_TestCase extends Doctrine_UnitTestCase
|
|||
'unsigned' => null,
|
||||
'fixed' => null));
|
||||
|
||||
$type = $this->dataDict->getPortableDeclaration(array('type' => 'interval'));
|
||||
|
||||
$this->assertEqual($type, array('type' => array('string'),
|
||||
'length' => null,
|
||||
'unsigned' => null,
|
||||
'fixed' => false));
|
||||
|
||||
$type = $this->dataDict->getPortableDeclaration(array('type' => 'varchar', 'length' => 1));
|
||||
|
||||
$this->assertEqual($type, array('type' => array('string', 'boolean'),
|
||||
|
|
Loading…
Add table
Reference in a new issue