diff options
author | wei <> | 2007-04-12 12:43:49 +0000 |
---|---|---|
committer | wei <> | 2007-04-12 12:43:49 +0000 |
commit | 32b73a0b1dfcd33e07e7fd2b2cf2fd7d42cf48a0 (patch) | |
tree | bf2b348fa854d82dcf8a9f43ffd43df3eba5a1e8 /tests/simple_unit/DbCommon/PgsqlColumnTest.php | |
parent | 815ce4bcc616c4b0618046651174062efc93fd06 (diff) |
Add Sqlite driver.
Diffstat (limited to 'tests/simple_unit/DbCommon/PgsqlColumnTest.php')
-rw-r--r-- | tests/simple_unit/DbCommon/PgsqlColumnTest.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/simple_unit/DbCommon/PgsqlColumnTest.php b/tests/simple_unit/DbCommon/PgsqlColumnTest.php index 0f633725..de12083e 100644 --- a/tests/simple_unit/DbCommon/PgsqlColumnTest.php +++ b/tests/simple_unit/DbCommon/PgsqlColumnTest.php @@ -26,7 +26,6 @@ class PgsqlColumnTest extends UnitTestCase 'NumericScale' => null,
'IsPrimaryKey' => true,
'IsForeignKey' => false,
- 'IsUnique' => false,
'SequenceName' => 'public.address_id_seq',
);
@@ -41,7 +40,6 @@ class PgsqlColumnTest extends UnitTestCase 'NumericScale' => null,
'IsPrimaryKey' => false,
'IsForeignKey' => false,
- 'IsUnique' => true,
'SequenceName' => null,
);
@@ -56,7 +54,6 @@ class PgsqlColumnTest extends UnitTestCase 'NumericScale' => null,
'IsPrimaryKey' => false,
'IsForeignKey' => false,
- 'IsUnique' => true,
'SequenceName' => null,
);
@@ -71,7 +68,6 @@ class PgsqlColumnTest extends UnitTestCase 'NumericScale' => null,
'IsPrimaryKey' => false,
'IsForeignKey' => false,
- 'IsUnique' => false,
'SequenceName' => null,
);
@@ -86,7 +82,6 @@ class PgsqlColumnTest extends UnitTestCase 'NumericScale' => null,
'IsPrimaryKey' => false,
'IsForeignKey' => true,
- 'IsUnique' => false,
'SequenceName' => null,
);
@@ -101,7 +96,6 @@ class PgsqlColumnTest extends UnitTestCase 'NumericScale' => null,
'IsPrimaryKey' => false,
'IsForeignKey' => false,
- 'IsUnique' => false,
'SequenceName' => null,
);
@@ -116,7 +110,6 @@ class PgsqlColumnTest extends UnitTestCase 'NumericScale' => 4,
'IsPrimaryKey' => false,
'IsForeignKey' => false,
- 'IsUnique' => false,
'SequenceName' => null,
);
$this->assertColumn($columns, $table);
@@ -124,7 +117,6 @@ class PgsqlColumnTest extends UnitTestCase $this->assertEqual('public', $table->getSchemaName());
$this->assertEqual('address', $table->getTableName());
$this->assertEqual(array('id'), $table->getPrimaryKeys());
- $this->assertEqual(array('username', 'phone'), $table->getUniqueKeys());
}
function assertColumn($columns, $table)
|