Skip to content
Permalink
Browse files

Previously added assertion was wrong...

  • Loading branch information...
markstory committed May 16, 2016
1 parent 602704f commit 17fb598fd7e74c527c93438b4ec1d07accff95d3
Showing with 1 addition and 2 deletions.
  1. +1 −2 tests/TestCase/ORM/QueryRegressionTest.php
@@ -129,11 +129,10 @@ public function testDuplicateAttachableAliases()
->order(['Articles.id' => 'ASC'])
->toArray();
$this->assertCount(3, $results);
$this->assertCount(5, $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);
$this->assertEquals(1, $results[0]->author->favorite_tag->id);
$this->assertEquals(1, $results[2]->articles_tag->foo->id);
$this->assertEquals(3, $results[2]->author->favorite_tag->id);
$this->assertEquals(3, $results[3]->articles_tag->foo->id);

0 comments on commit 17fb598

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