public function CurrencyValidatorTest::testValidCurrenciesWithCountrySpecificLocale in Plug 7
@dataProvider getValidCurrencies
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ CurrencyValidatorTest.php, line 73
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testValidCurrenciesWithCountrySpecificLocale($currency) {
\Locale::setDefault('en_GB');
$this->validator
->validate($currency, new Currency());
$this
->assertNoViolation();
}