You are here

public function UrlValidatorTest::testValidUrls in Plug 7

@dataProvider getValidUrls

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/UrlValidatorTest.php, line 55

Class

UrlValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidUrls($url) {
  $this->validator
    ->validate($url, new Url());
  $this
    ->assertNoViolation();
}