Skip to content
Permalink
Browse files

Using the correct order by syntax

  • Loading branch information...
lorenzo committed Sep 12, 2014
1 parent 506342a commit dbc6dd5fe276ef72a727c81f8463f16fed431939
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/TestCase/ORM/QueryRegressionTest.php
@@ -105,7 +105,7 @@ public function testDuplicateAttachableAliases() {
$results = $table->find()
->contain(['Authors.Stuff', 'Things.Stuff'])
->order(['Articles.id'])
->order(['Articles.id' => 'ASC'])
->toArray();
$this->assertEquals(1, $results[0]->articles_tag->foo->id);

0 comments on commit dbc6dd5

Please sign in to comment.
You can’t perform that action at this time.