You are here

public function UuidValidatorTest::testValidNonStrictUuids in Plug 7

@dataProvider getValidNonStrictUuids

File

lib/Symfony/validator/Symfony/Component/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();
}