From 599446ad07ac905995b309534c5fd38d2843c116 Mon Sep 17 00:00:00 2001 From: pookey Date: Tue, 4 Dec 2007 15:25:52 +0000 Subject: [PATCH] adding test case for previous commit --- tests/DataDict/PgsqlTestCase.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/DataDict/PgsqlTestCase.php b/tests/DataDict/PgsqlTestCase.php index 0474d8720..99a97a197 100644 --- a/tests/DataDict/PgsqlTestCase.php +++ b/tests/DataDict/PgsqlTestCase.php @@ -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'),