Benoît Merlet 14 gadi atpakaļ
vecāks
revīzija
e2b249da08

+ 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".');
         }