File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -511,7 +511,7 @@ public function testAddCustomizedViolation()
511511 ->setParameter ('%param% ' , 'value ' )
512512 ->setInvalidValue ('Invalid value ' )
513513 ->setPlural (2 )
514- ->setCode (42 )
514+ ->setCode (' 42 ' )
515515 ->addViolation ();
516516 };
517517
@@ -528,7 +528,7 @@ public function testAddCustomizedViolation()
528528 $ this ->assertSame ($ entity , $ violations [0 ]->getRoot ());
529529 $ this ->assertSame ('Invalid value ' , $ violations [0 ]->getInvalidValue ());
530530 $ this ->assertSame (2 , $ violations [0 ]->getPlural ());
531- $ this ->assertSame (42 , $ violations [0 ]->getCode ());
531+ $ this ->assertSame (' 42 ' , $ violations [0 ]->getCode ());
532532 }
533533
534534 public function testNoDuplicateValidationIfClassConstraintInMultipleGroups ()
You can’t perform that action at this time.
0 commit comments