[Validator] Fixed failing test

This commit is contained in:
Bernhard Schussek 2012-12-18 12:13:58 +01:00
parent cc0df0a5af
commit e00e5ecf4e

View File

@ -459,6 +459,7 @@ class ValidationVisitorTest extends \PHPUnit_Framework_TestCase
$violations = new ConstraintViolationList(array( $violations = new ConstraintViolationList(array(
// generated by the root object // generated by the root object
new ConstraintViolation( new ConstraintViolation(
'Failed',
'Failed', 'Failed',
array(), array(),
'Root', 'Root',
@ -467,6 +468,7 @@ class ValidationVisitorTest extends \PHPUnit_Framework_TestCase
), ),
// nothing generated by the reference! // nothing generated by the reference!
new ConstraintViolation( new ConstraintViolation(
'Failed',
'Failed', 'Failed',
array(), array(),
'Root', 'Root',