Benoît Merlet 14 år sedan
förälder
incheckning
e2b249da08
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      tests/Symfony/Tests/Component/HttpFoundation/RequestMatcherTest.php

+ 1 - 1
tests/Symfony/Tests/Component/HttpFoundation/RequestMatcherTest.php

@@ -71,7 +71,7 @@ class RequestMatcherTest extends \PHPUnit_Framework_TestCase
 
     public function testAnIpv6WithOptionDisabledIpv6()
     {
-        if (defined('AF_INET6')) {
+        if (!defined('AF_INET6')) {
             $this->markTestSkipped('Only works when PHP is compiled with the option "disable-ipv6".');
         }