diff --git a/tests/Composer/Test/Package/Archiver/ArchiverTest.php b/tests/Composer/Test/Package/Archiver/ArchiverTest.php index f1cc3d43a..4b8d91c51 100644 --- a/tests/Composer/Test/Package/Archiver/ArchiverTest.php +++ b/tests/Composer/Test/Package/Archiver/ArchiverTest.php @@ -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 @@ -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'); diff --git a/tests/Composer/Test/Package/Archiver/MercurialArchiverTest.php b/tests/Composer/Test/Package/Archiver/MercurialArchiverTest.php index b7b0eca64..936d8b24b 100644 --- a/tests/Composer/Test/Package/Archiver/MercurialArchiverTest.php +++ b/tests/Composer/Test/Package/Archiver/MercurialArchiverTest.php @@ -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 @@ -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');