1
0
Fork 0

Merge pull request #3631 from greg0ire/skip_test_on_missing_zip_extension

skip some tests when the zip extension misses
pull/3627/merge
Jordi Boggiano 2015-01-11 23:20:30 +00:00
commit 38c41b27c4
1 changed files with 8 additions and 0 deletions

View File

@ -19,6 +19,14 @@ use Composer\Package\BasePackage;
class ArtifactRepositoryTest extends TestCase class ArtifactRepositoryTest extends TestCase
{ {
public function setUp()
{
parent::setUp();
if (!extension_loaded('zip')) {
$this->markTestSkipped('You need the zip extension to run this test.');
}
}
public function testExtractsConfigsFromZipArchives() public function testExtractsConfigsFromZipArchives()
{ {
$expectedPackages = array( $expectedPackages = array(