You are here

protected function FileValidatorTest::setUp in Zircon Profile 8.0

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

Overrides AbstractConstraintValidatorTest::setUp

File

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

Class

FileValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

protected function setUp() {
  parent::setUp();
  $this->path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'FileValidatorTest';
  $this->file = fopen($this->path, 'w');
  fwrite($this->file, ' ', 1);
}