public function UuidValidatorTest::testValidStrictUuids in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Tests/Constraints/UuidValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\UuidValidatorTest::testValidStrictUuids()
@dataProvider getValidStrictUuids
File
- vendor/
symfony/ validator/ Tests/ Constraints/ UuidValidatorTest.php, line 58
Class
- UuidValidatorTest
- @author Colin O'Dell <colinodell@gmail.com>
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testValidStrictUuids($uuid, $versions = null) {
$constraint = new Uuid();
if (null !== $versions) {
$constraint->versions = $versions;
}
$this->validator
->validate($uuid, $constraint);
$this
->assertNoViolation();
}