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:
parent
6c9f1f6f5b
commit
1d544630b6
3 changed files with 20 additions and 8 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue