You are here

protected function FileValidatorTest::setUp in Plug 7

Overrides AbstractConstraintValidatorTest::setUp

File

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