You are here

public function FileValidatorTest::testEmptyStringIsValid in Zircon Profile 8

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

File

vendor/symfony/validator/Tests/Constraints/FileValidatorTest.php, line 67

Class

FileValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testEmptyStringIsValid() {
  $this->validator
    ->validate('', new File());
  $this
    ->assertNoViolation();
}