From ade9e4d154fa6c0bde20c0fa506d70c2646a93fd Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Wed, 5 Oct 2011 21:36:36 -0430 Subject: [PATCH] Fixing another postgres failing test --- lib/Cake/Test/Case/Model/ModelWriteTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Test/Case/Model/ModelWriteTest.php b/lib/Cake/Test/Case/Model/ModelWriteTest.php index 5dcd0d89071..909cdc0c0a8 100644 --- a/lib/Cake/Test/Case/Model/ModelWriteTest.php +++ b/lib/Cake/Test/Case/Model/ModelWriteTest.php @@ -2893,7 +2893,7 @@ public function testSaveAllAtomic() { 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(