Skip to content

Commit 6acefcd

Browse files
Merge branch '2.3' into 2.7
* 2.3: [travis] Disable hirak/prestissimo for deps=low/high tests [HttpFoundation] fix phpdoc of UploadedFile [ci] Skip dns-sensitive tests when DnsMock is not found Optimize ReplaceAliasByActualDefinitionPass [Process] use __METHOD__ where applicable Conflicts: .travis.yml src/Symfony/Component/DependencyInjection/Compiler/ReplaceAliasByActualDefinitionPass.php src/Symfony/Component/Process/Process.php src/Symfony/Component/Process/ProcessBuilder.php
2 parents aceef0c + a54c48c commit 6acefcd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/Constraints/EmailValidatorTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ public function testStrict()
110110

111111
/**
112112
* @dataProvider getDnsChecks
113+
* @requires function Symfony\Bridge\PhpUnit\DnsMock::withMockedHosts
113114
*/
114115
public function testDnsChecks($type, $violation)
115116
{
@@ -144,6 +145,9 @@ public function getDnsChecks()
144145
);
145146
}
146147

148+
/**
149+
* @requires function Symfony\Bridge\PhpUnit\DnsMock::withMockedHosts
150+
*/
147151
public function testHostnameIsProperlyParsed()
148152
{
149153
DnsMock::withMockedHosts(array('baz.com' => array(array('type' => 'MX'))));

0 commit comments

Comments
 (0)