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
1493
1506
$this->assertCount(0, $parent->getErrors(), $parent->getName().' should not have an error, but has one');
1494
1507
$this->assertCount(0, $child1->getErrors(), $child1->getName().' should not have an error, but has one');
1495
1508
$this->assertCount(0, $child2->getErrors(), $child2->getName().' should not have an error, but has one');
1496
-
$this->assertEquals(array($this->getFormError()), $grandChild->getErrors(), $grandChild->getName().' should have an error, but has none');
1509
+
$this->assertCount(0, $child3->getErrors(), $child3->getName().' should not have an error, but has one');
1510
+
$this->assertCount(0, $child4->getErrors(), $child4->getName().' should not have an error, but has one');
1511
+
$this->assertEquals(array($this->getFormError($violation1, $grandChild1)), $grandChild1->getErrors(), $grandChild1->getName().' should have an error, but has none');
1512
+
$this->assertEquals(array($this->getFormError($violation2, $grandChild2)), $grandChild2->getErrors(), $grandChild2->getName().' should have an error, but has none');
1513
+
$this->assertEquals(array($this->getFormError($violation3, $grandChild3)), $grandChild3->getErrors(), $grandChild3->getName().' should have an error, but has none');
0 commit comments