Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fail with a slightly more helpful error messages.
  • Loading branch information
markstory committed May 16, 2016
1 parent 609224e commit 602704f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/TestCase/ORM/QueryRegressionTest.php
Expand Up @@ -129,6 +129,7 @@ public function testDuplicateAttachableAliases()
->order(['Articles.id' => 'ASC'])
->toArray();

$this->assertCount(3, $results);
$this->assertEquals(1, $results[0]->articles_tag->foo->id);
$this->assertEquals(1, $results[0]->author->favorite_tag->id);
$this->assertEquals(2, $results[1]->articles_tag->foo->id);
Expand Down

0 comments on commit 602704f

Please sign in to comment.