Permalink
Browse files

Fixing a failing postgres test

  • Loading branch information...
1 parent 7003ede commit fcf58371fd68fbbd45fd7313c234821657c560e8 @lorenzo lorenzo committed Sep 3, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php
@@ -676,8 +676,9 @@ public function testAlterIndexes() {
'group2' => array('type' => 'integer', 'null' => true)
)
));
- $this->Dbo->rawQuery($this->Dbo->dropSchema($schema1));
+
$this->Dbo->rawQuery($this->Dbo->createSchema($schema1));
+ $this->Dbo->rawQuery($this->Dbo->dropSchema($schema1));
$schema2 = new CakeSchema(array(
'name' => 'AlterTest2',

0 comments on commit fcf5837

Please sign in to comment.