Skip to content
Permalink
Browse files

Fix a few more tests that sometimes fail on postgres.

  • Loading branch information...
markstory committed Oct 28, 2012
1 parent 667dfd3 commit ab2ce29bd690a6111354edbbe8ac88d34c254986
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/Cake/Test/Case/Model/ModelReadTest.php
@@ -4959,7 +4959,9 @@ public function testUnBindMultipleTimesWithDifferentResetSettings() {
public function testAssociationAfterFind() {
$this->loadFixtures('Post', 'Author', 'Comment');
$TestModel = new Post();
$result = $TestModel->find('all');
$result = $TestModel->find('all', array(
'order' => array('Post.id' => 'ASC')
));
$expected = array(
array(
'Post' => array(
@@ -5028,6 +5030,7 @@ public function testAssociationAfterFind() {
)));
$result = $Author->find('all', array(
'conditions' => array('Author.id' => 1),
'order' => array('Author.id' => 'ASC'),
'recursive' => 2
));
$expected = array(

0 comments on commit ab2ce29

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.