[Validator] Fixed failing test
This commit is contained in:
parent
cc0df0a5af
commit
e00e5ecf4e
@ -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',
|
||||||
|
Reference in New Issue
Block a user