Jordi Boggiano 12 年之前
父節點
當前提交
ab731b1197
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      tests/Composer/Test/Downloader/ArchiveDownloaderTest.php

+ 4 - 4
tests/Composer/Test/Downloader/ArchiveDownloaderTest.php

@@ -33,7 +33,7 @@ class ArchiveDownloaderTest extends \PHPUnit_Framework_TestCase
 
     public function testProcessUrl()
     {
-        if (extension_loaded('openssl')) {
+        if (!extension_loaded('openssl')) {
             $this->markTestSkipped('Requires openssl');
         }
 
@@ -49,7 +49,7 @@ class ArchiveDownloaderTest extends \PHPUnit_Framework_TestCase
 
     public function testProcessUrl2()
     {
-        if (extension_loaded('openssl')) {
+        if (!extension_loaded('openssl')) {
             $this->markTestSkipped('Requires openssl');
         }
 
@@ -65,7 +65,7 @@ class ArchiveDownloaderTest extends \PHPUnit_Framework_TestCase
 
     public function testProcessUrl3()
     {
-        if (extension_loaded('openssl')) {
+        if (!extension_loaded('openssl')) {
             $this->markTestSkipped('Requires openssl');
         }
 
@@ -84,7 +84,7 @@ class ArchiveDownloaderTest extends \PHPUnit_Framework_TestCase
      */
     public function testProcessUrlRewriteDist($url)
     {
-        if (extension_loaded('openssl')) {
+        if (!extension_loaded('openssl')) {
             $this->markTestSkipped('Requires openssl');
         }