public function IpValidatorTest::testValidIpsV6 in Plug 7
@dataProvider getValidIpsV6
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ IpValidatorTest.php, line 91
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testValidIpsV6($ip) {
$this->validator
->validate($ip, new Ip(array(
'version' => Ip::V6,
)));
$this
->assertNoViolation();
}