You are here

public function LocaleValidatorTest::testValidLocales in Plug 7

@dataProvider getValidLocales

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/LocaleValidatorTest.php, line 63

Class

LocaleValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidLocales($locale) {
  $this->validator
    ->validate($locale, new Locale());
  $this
    ->assertNoViolation();
}