You are here

public function TimeValidatorTest::testValidTimes in Plug 7

@dataProvider getValidTimes

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/TimeValidatorTest.php, line 62

Class

TimeValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidTimes($time) {
  $this->validator
    ->validate($time, new Time());
  $this
    ->assertNoViolation();
}