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