Benoît Merlet преди 14 години
родител
ревизия
e2b249da08
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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".');
         }