You are here

public function IpValidatorTest::testValidIpsV6 in Plug 7

@dataProvider getValidIpsV6

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/IpValidatorTest.php, line 91

Class

IpValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidIpsV6($ip) {
  $this->validator
    ->validate($ip, new Ip(array(
    'version' => Ip::V6,
  )));
  $this
    ->assertNoViolation();
}