File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed
src/Symfony/Component/Validator/Tests/Constraints Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -65,19 +65,15 @@ public function testThrowsConstraintExceptionIfValue()
65
65
/**
66
66
* @dataProvider provideInvalidConstraintOptions
67
67
*/
68
- // public function testThrowsConstraintExceptionIfNoValueOrPropertyPath($options)
69
- // {
70
- // $this->expectException(ConstraintDefinitionException::class);
71
- // $this->expectExceptionMessage('requires either the "value" or "propertyPath" option to be set.');
72
- // $this->markTestSkipped('Value option always set for Positive constraint.');
73
- // }
74
- //
75
- // public function testThrowsConstraintExceptionIfBothValueAndPropertyPath()
76
- // {
77
- // $this->expectException(ConstraintDefinitionException::class);
78
- // $this->expectExceptionMessage('requires only one of the "value" or "propertyPath" options to be set, not both.');
79
- // $this->markTestSkipped('Value option is set for Positive constraint automatically');
80
- // }
68
+ public function testThrowsConstraintExceptionIfNoValueOrPropertyPath ($ options )
69
+ {
70
+ $ this ->markTestSkipped ('Value option always set for Positive constraint. ' );
71
+ }
72
+
73
+ public function testThrowsConstraintExceptionIfBothValueAndPropertyPath ()
74
+ {
75
+ $ this ->markTestSkipped ('Value option is set for Positive constraint automatically ' );
76
+ }
81
77
82
78
public function testNoViolationOnNullObjectWithPropertyPath ()
83
79
{
You can’t perform that action at this time.
0 commit comments