You are here

protected function ImageValidatorTest::setUp in Zircon Profile 8

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

Overrides AbstractConstraintValidatorTest::setUp

File

vendor/symfony/validator/Tests/Constraints/ImageValidatorTest.php, line 46

Class

ImageValidatorTest
@requires extension fileinfo

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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';
}