minor #18398 skipped dns-sensitive tests when DnsMock is not found (2.7) (fabpot)

This PR was merged into the 2.7 branch.

Discussion
----------

skipped dns-sensitive tests when DnsMock is not found (2.7)

| Q             | A
| ------------- | ---
| Branch?       | 2.3
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #18319
| License       | MIT
| Doc PR        | -

Commits
-------

efc1de7 skipped dns-sensitive tests when DnsMock is not found
This commit is contained in:
Fabien Potencier 2016-04-01 08:18:52 +02:00
commit b3580ce832
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@ class UrlValidatorTest extends AbstractConstraintValidatorTest
/**
* @dataProvider getCheckDns
* @requires function Symfony\Bridge\PhpUnit\DnsMock::withMockedHosts
*/
public function testCheckDns($violation)
{