Skip to content

Commit

Permalink
Adding a couple extra assertions to clarify what the new option does
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Oct 25, 2014
1 parent ac7d9ed commit 1ca4c6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/TestCase/ORM/QueryTest.php
Expand Up @@ -2197,6 +2197,9 @@ public function testContainWithStrategyOverride() {
->toArray();
$this->assertCount(3, $articles);
$this->assertEquals(3, $articles[1]->author->id);

$this->assertNull($articles[0]->author);
$this->assertNull($articles[2]->author);
}

}

0 comments on commit 1ca4c6e

Please sign in to comment.