mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix error handling for incorrect "repositories" array
This commit is contained in:
parent
2a1a963b00
commit
3b678ee379
2 changed files with 13 additions and 1 deletions
|
@ -97,6 +97,18 @@ class ConfigTest extends \PHPUnit_Framework_TestCase
|
|||
),
|
||||
);
|
||||
|
||||
$data['incorrect local config does not cause ErrorException'] = array(
|
||||
array(
|
||||
'packagist' => array('type' => 'composer', 'url' => 'https?://packagist.org', 'allow_ssl_downgrade' => true),
|
||||
'type' => 'vcs',
|
||||
'url' => 'http://example.com',
|
||||
),
|
||||
array(
|
||||
'type' => 'vcs',
|
||||
'url' => 'http://example.com',
|
||||
),
|
||||
);
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue