You are here

public function TimeValidatorTest::testValidTimes in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/TimeValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\TimeValidatorTest::testValidTimes()

@dataProvider getValidTimes

File

vendor/symfony/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();
}