We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17a9c2b commit ecb7855Copy full SHA for ecb7855
1 file changed
tests/system/API/TransformerTest.php
@@ -696,15 +696,13 @@ public function testTransformRelatedWorksWhenParentUsesTransformMany(): void
696
697
$result = $transformer->transformMany($parents);
698
699
- $this->assertIsArray($result);
700
$this->assertCount(2, $result);
701
702
$this->assertSame(1, $result[0]['parent_id']);
703
$this->assertIsArray($result[0]['child']);
704
$this->assertSame(99, $result[0]['child']['child_id']);
705
706
$this->assertSame(2, $result[1]['parent_id']);
707
- $this->assertIsArray($result[1]['child']);
708
$this->assertSame(99, $result[1]['child']['child_id']);
709
}
710
0 commit comments