Fixing another postgres failing test

This commit is contained in:
Jose Lorenzo Rodriguez 2011-10-05 21:36:36 -04:30
parent fca6fefb4a
commit ade9e4d154

View file

@ -2893,7 +2893,7 @@ class ModelWriteTest extends BaseModelTest {
public function testSaveAllHasMany() {
$this->loadFixtures('Article', 'Comment');
$TestModel = new Article();
$TestModel->order = array('Article.created' => 'ASC');
$TestModel->hasMany['Comment']['order'] = array('Comment.created' => 'ASC');
$TestModel->belongsTo = $TestModel->hasAndBelongsToMany = array();
$result = $TestModel->saveAll(array(