You are here

public function UuidValidatorTest::testValidNonStrictUuids in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/Constraints/UuidValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\UuidValidatorTest::testValidNonStrictUuids()

@dataProvider getValidNonStrictUuids

File

vendor/symfony/validator/Tests/Constraints/UuidValidatorTest.php, line 153

Class

UuidValidatorTest
@author Colin O'Dell <colinodell@gmail.com>

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidNonStrictUuids($uuid) {
  $constraint = new Uuid(array(
    'strict' => false,
  ));
  $this->validator
    ->validate($uuid, $constraint);
  $this
    ->assertNoViolation();
}