public function AbstractValidatorTest::testValidatePropertyValueWithoutConstraints in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Validator/AbstractValidatorTest.php \Symfony\Component\Validator\Tests\Validator\AbstractValidatorTest::testValidatePropertyValueWithoutConstraints()
https://github.com/symfony/symfony/issues/11604.
File
- vendor/
symfony/ validator/ Tests/ Validator/ AbstractValidatorTest.php, line 990
Class
- AbstractValidatorTest
- @since 2.5
Namespace
Symfony\Component\Validator\Tests\ValidatorCode
public function testValidatePropertyValueWithoutConstraints() {
$entity = new Entity();
$violations = $this
->validatePropertyValue($entity, 'lastName', 'foo');
$this
->assertCount(0, $violations, '->validatePropertyValue() returns no violations if no constraints have been configured for the property being validated');
}