We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aa6387 commit a7573beCopy full SHA for a7573be
tests/TestCase/ORM/Association/HasManyTest.php
@@ -680,7 +680,7 @@ public function testUnlinkWithoutContain()
680
]);
681
682
$entity = $this->author->get(1);
683
- $entities = $this->article->find()->where(['Articles.author_id' => $entity->id])->all();
+ $entities = $this->article->find()->where(['Articles.author_id' => $entity->id]); // Without ->all()
684
$this->assertCount(2, $entities);
685
686
$assoc->unlink($entity, $entities);
0 commit comments