1
0
mirror of synced 2025-01-17 22:11:41 +03:00

adding test case for previous commit

This commit is contained in:
pookey 2007-12-04 15:25:52 +00:00
parent 0c9c3767c2
commit 599446ad07

View File

@ -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'),