Changed Package class due to upstream changes
parent
20e717f975
commit
2fd17ecff8
|
@ -14,7 +14,7 @@ namespace Composer\Test\Package\Archiver;
|
|||
|
||||
use Composer\Util\Filesystem;
|
||||
use Composer\Util\ProcessExecutor;
|
||||
use Composer\Package\MemoryPackage;
|
||||
use Composer\Package\Package;
|
||||
|
||||
/**
|
||||
* @author Till Klampaeckel <till@php.net>
|
||||
|
@ -80,7 +80,7 @@ abstract class ArchiverTest extends \PHPUnit_Framework_TestCase
|
|||
|
||||
protected function setupPackage()
|
||||
{
|
||||
$package = new MemoryPackage('archivertest/archivertest', 'master', 'master');
|
||||
$package = new Package('archivertest/archivertest', 'master', 'master');
|
||||
$package->setSourceUrl(realpath($this->testDir));
|
||||
$package->setSourceReference('master');
|
||||
$package->setSourceType('git');
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
namespace Composer\Test\Package\Archiver;
|
||||
|
||||
use Composer\Package\Archiver\MercurialArchiver;
|
||||
use Composer\Package\MemoryPackage;
|
||||
use Composer\Package\Package;
|
||||
|
||||
/**
|
||||
* @author Matthieu Moquet <matthieu@moquet.net>
|
||||
|
@ -93,7 +93,7 @@ class MercurialArchiverTest extends ArchiverTest
|
|||
|
||||
protected function setupMercurialPackage()
|
||||
{
|
||||
$package = new MemoryPackage('archivertest/archivertest', 'master', 'master');
|
||||
$package = new Package('archivertest/archivertest', 'master', 'master');
|
||||
$package->setSourceUrl(realpath($this->testDir));
|
||||
$package->setSourceReference('default');
|
||||
$package->setSourceType('hg');
|
||||
|
|
Loading…
Reference in New Issue