1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Allow requesting a particular vcs driver to bypass github/bitbucket ones

This commit is contained in:
Jordi Boggiano 2012-03-09 18:30:59 +01:00
parent 6c9f1f6f5b
commit 1d544630b6
3 changed files with 20 additions and 8 deletions

View file

@ -123,7 +123,7 @@ class VcsRepositoryTest extends \PHPUnit_Framework_TestCase
'dev-master' => true,
);
$repo = new VcsRepository(array('url' => self::$gitRepo), new NullIO);
$repo = new VcsRepository(array('url' => self::$gitRepo, 'type' => 'vcs'), new NullIO);
$packages = $repo->getPackages();
$dumper = new ArrayDumper();