mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Add config.json default config option for "disable-tls" (FALSE by default)
This commit is contained in:
parent
aa74818fe0
commit
7e30c67827
3 changed files with 48 additions and 0 deletions
28
tests/Composer/Test/DefaultConfigTest.php
Normal file
28
tests/Composer/Test/DefaultConfigTest.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Composer.
|
||||
*
|
||||
* (c) Nils Adermann <naderman@naderman.de>
|
||||
* Jordi Boggiano <j.boggiano@seld.be>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Test;
|
||||
|
||||
use Composer\Config;
|
||||
|
||||
class DefaultConfigTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @group TLS
|
||||
*/
|
||||
public function testDefaultValuesAreAsExpected()
|
||||
{
|
||||
$config = new Config;
|
||||
$this->assertFalse($config->get('disable-tls'));
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue