Browse Source

Added order clause to test to avoid errors in different db drivers

Jose Lorenzo Rodriguez 12 years ago
parent
commit
e7784e78fd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/TestCase/ORM/QueryTest.php

+ 1 - 0
tests/TestCase/ORM/QueryTest.php

@@ -1856,6 +1856,7 @@ class QueryTest extends TestCase {
 					'conditions' => ['person.id = articles.author_id']
 				]
 			])
+			->order(['articles.id' => 'ASC'])
 			->hydrate(false)
 			->toArray();
 		$expected = [