Merge pull request #3631 from greg0ire/skip_test_on_missing_zip_extension
skip some tests when the zip extension missespull/3627/merge
commit
38c41b27c4
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue