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