Jordi Boggiano 12 tahun lalu
induk
melakukan
ab731b1197
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  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');
         }