1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00
This commit is contained in:
Jordi Boggiano 2014-10-17 18:46:01 +01:00
parent 751190aafd
commit 94926218e8
56 changed files with 94 additions and 123 deletions

View file

@ -16,7 +16,6 @@ use Composer\TestCase;
use Composer\IO\NullIO;
use Composer\Config;
use Composer\Package\BasePackage;
use Composer\Util\Filesystem;
class ArtifactRepositoryTest extends TestCase
{
@ -67,7 +66,6 @@ class ArtifactRepositoryTest extends TestCase
$this->assertTrue(strpos($package->getDistUrl(), $relativePath) === 0);
}
}
}
//Files jsonInFirstLevel.zip, jsonInRoot.zip and jsonInSecondLevel.zip were generated with:

View file

@ -73,7 +73,7 @@ class PerforceDriverTest extends \PHPUnit_Framework_TestCase
protected function getTestConfig($testPath)
{
$config = new Config();
$config->merge(array('config'=>array('home'=>$testPath)));
$config->merge(array('config' => array('home' => $testPath)));
return $config;
}
@ -173,5 +173,4 @@ class PerforceDriverTest extends \PHPUnit_Framework_TestCase
$this->perforce->expects($this->once())->method('cleanupClientSpec');
$this->driver->cleanup();
}
}