File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Validator/Tests/Constraints Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public function testAttributes()
46
46
47
47
[$ bConstraint ] = $ metadata ->properties ['b ' ]->getConstraints ();
48
48
self ::assertFalse ($ bConstraint ->traverse );
49
- self ::assertSame (['Default ' , ' ValidDummy ' ], $ bConstraint ->groups );
49
+ self ::assertSame (['traverse_group ' ], $ bConstraint ->groups );
50
50
51
51
[$ cConstraint ] = $ metadata ->properties ['c ' ]->getConstraints ();
52
52
self ::assertSame (['my_group ' ], $ cConstraint ->groups );
@@ -59,7 +59,7 @@ class ValidDummy
59
59
#[Valid]
60
60
private $ a ;
61
61
62
- #[Valid(traverse: false )]
62
+ #[Valid(groups: [ ' traverse_group ' ], traverse: false )] // Needs a group to work at all for this test
63
63
private $ b ;
64
64
65
65
#[Valid(groups: ['my_group ' ], payload: 'some attached data ' )]
You can’t perform that action at this time.
0 commit comments