Browse Source

Merge pull request #4656 from alcohol/fix-php533-test

fix a 5.3.3 unit test
Jordi Boggiano 9 năm trước cách đây
mục cha
commit
26a74a1200
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php

+ 2 - 1
tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php

@@ -216,7 +216,8 @@ JSON;
             array('git@gitlab.com:foo/bar.git', extension_loaded('openssl')),
             array('git@example.com:foo/bar.git', false),
             array('http://example.com/foo/bar', false),
-            array('https://mycompany.com/gitlab/mygroup/myproject', true),
+            array('http://mycompany.com/gitlab/mygroup/myproject', true),
+            array('https://mycompany.com/gitlab/mygroup/myproject', extension_loaded('openssl')),
         );
     }