You are here

public function IpValidatorTest::testValidIpsAll in Plug 7

@dataProvider getValidIpsAll

File

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

Class

IpValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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