Exemplo n.º 1
0
 protected function setUp()
 {
     parent::setUp();
     $this->path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'FileValidatorTest';
     $this->file = fopen($this->path, 'w');
     fwrite($this->file, ' ', 1);
 }
Exemplo n.º 2
0
 protected function setUp()
 {
     parent::setUp();
     $this->image = __DIR__ . '/Fixtures/test.gif';
     $this->imageLandscape = __DIR__ . '/Fixtures/test_landscape.gif';
     $this->imagePortrait = __DIR__ . '/Fixtures/test_portrait.gif';
     $this->image4By3 = __DIR__ . '/Fixtures/test_4by3.gif';
     $this->imageCorrupted = __DIR__ . '/Fixtures/test_corrupted.gif';
 }