You are here

public function CurrencyValidatorTest::testValidCurrencies in Zircon Profile 8

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

@dataProvider getValidCurrencies

File

vendor/symfony/validator/Tests/Constraints/CurrencyValidatorTest.php, line 56

Class

CurrencyValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidCurrencies($currency) {
  $this->validator
    ->validate($currency, new Currency());
  $this
    ->assertNoViolation();
}