Permalink
Browse files

Removing test ins porstgres that wasn't actually testing a thing, and…

… making another postgres test pass
  • Loading branch information...
1 parent a94b049 commit 5d19b6ded932a618052f09ea5d3301b0330500f3 @lorenzo lorenzo committed Oct 1, 2011
@@ -430,25 +430,6 @@ public function testLastInsertIdMultipleInsert() {
}
/**
- * Tests that table lists and descriptions are scoped to the proper Postgres schema
- *
- * @return void
- */
- public function testSchemaScoping() {
- $db1 = ConnectionManager::getDataSource('test');
- $db1->cacheSources = false;
- $db1->query('CREATE SCHEMA _scope_test');
-
- $db2 = ConnectionManager::create(
- 'test_2',
- array_merge($db1->config, array('driver' => 'postgres', 'schema' => '_scope_test'))
- );
- $db2->cacheSources = false;
-
- $db2->query('DROP SCHEMA _scope_test');
- }
-
-/**
* Tests that column types without default lengths in $columns do not have length values
* applied when generating schemas.
*
@@ -2897,6 +2897,7 @@ public function testSaveAllAtomic() {
public function testSaveAllHasMany() {
$this->loadFixtures('Article', 'Comment');
$TestModel = new Article();
+ $TestModel->order = array('Article.created' => 'ASC');
$TestModel->belongsTo = $TestModel->hasAndBelongsToMany = array();
$result = $TestModel->saveAll(array(

0 comments on commit 5d19b6d

Please sign in to comment.