浏览代码

Fixing another postgres failing test

Jose Lorenzo Rodriguez 14 年之前
父节点
当前提交
ade9e4d154
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Cake/Test/Case/Model/ModelWriteTest.php

+ 1 - 1
lib/Cake/Test/Case/Model/ModelWriteTest.php

@@ -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(