You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The error occurred on the child of the second form with the same path
1560
1572
$this->assertCount(0, $parent->getErrors(), $parent->getName().' should not have an error, but has one');
1561
1573
$this->assertCount(0, $child1->getErrors(), $child1->getName().' should not have an error, but has one');
1562
1574
$this->assertCount(0, $child2->getErrors(), $child2->getName().' should not have an error, but has one');
1563
-
$this->assertEquals(array($this->getFormError($violation, $grandChild)), iterator_to_array($grandChild->getErrors()), $grandChild->getName().' should have an error, but has none');
1575
+
$this->assertCount(0, $child3->getErrors(), $child3->getName().' should not have an error, but has one');
1576
+
$this->assertCount(0, $child4->getErrors(), $child4->getName().' should not have an error, but has one');
1577
+
$this->assertEquals(array($this->getFormError($violation1, $grandChild1)), iterator_to_array($grandChild1->getErrors()), $grandChild1->getName().' should have an error, but has none');
1578
+
$this->assertEquals(array($this->getFormError($violation2, $grandChild2)), iterator_to_array($grandChild2->getErrors()), $grandChild2->getName().' should have an error, but has none');
1579
+
$this->assertEquals(array($this->getFormError($violation3, $grandChild3)), iterator_to_array($grandChild3->getErrors()), $grandChild3->getName().' should have an error, but has none');
0 commit comments