You are here

protected function AbstractLegacyApiTest::setUp in Plug 7

Overrides AbstractValidatorTest::setUp

1 call to AbstractLegacyApiTest::setUp()
LegacyValidatorLegacyApiTest::setUp in lib/Symfony/validator/Symfony/Component/Validator/Tests/Validator/LegacyValidatorLegacyApiTest.php
1 method overrides AbstractLegacyApiTest::setUp()
LegacyValidatorLegacyApiTest::setUp in lib/Symfony/validator/Symfony/Component/Validator/Tests/Validator/LegacyValidatorLegacyApiTest.php

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Validator/AbstractLegacyApiTest.php, line 43

Class

AbstractLegacyApiTest
Verifies that a validator satisfies the API of Symfony < 2.5.

Namespace

Symfony\Component\Validator\Tests\Validator

Code

protected function setUp() {
  $this
    ->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
  parent::setUp();
  $this->validator = $this
    ->createValidator($this->metadataFactory);
}