public function CurrencyValidatorTest::testValidCurrenciesWithCountrySpecificLocale in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/CurrencyValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\CurrencyValidatorTest::testValidCurrenciesWithCountrySpecificLocale()
@dataProvider getValidCurrencies
File
- vendor/
symfony/ validator/ Tests/ Constraints/ CurrencyValidatorTest.php, line 66
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testValidCurrenciesWithCountrySpecificLocale($currency) {
IntlTestHelper::requireFullIntl($this);
\Locale::setDefault('en_GB');
$this->validator
->validate($currency, new Currency());
$this
->assertNoViolation();
}