Skip to content

Commit

Permalink
Fix fieldname casing
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Apr 28, 2015
1 parent 8e1bf95 commit b2747b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/ORM/TableTest.php
Expand Up @@ -1265,7 +1265,7 @@ public function testFindListWithAssociatedTable()
$articles->belongsTo('Authors');
$query = $articles->find('list', ['valueField' => 'author.name'])
->contain(['Authors'])
->order('Articles.id');
->order('articles.id');
$this->assertEmpty($query->clause('select'));

$expected = [
Expand Down

0 comments on commit b2747b0

Please sign in to comment.