fix failing test, caused by postgres ordering

This commit is contained in:
Ceeram 2012-02-10 17:26:05 +01:00
parent b6f99bc0b9
commit 97f48dcdb3

View file

@ -4741,7 +4741,8 @@ class ModelWriteTest extends BaseModelTest {
$result = $TestModel->find('all', array(
'recursive' => -1,
'fields' => array('author_id', 'title','body','published')
'fields' => array('author_id', 'title','body','published'),
'order' => array('Post.created' => 'ASC')
));
$expected = array(