mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Merged isset, unset and str_replace calls
This commit is contained in:
parent
974e7ba296
commit
80d71ccb3f
16 changed files with 31 additions and 43 deletions
|
@ -82,7 +82,10 @@ class RemoteFilesystemTest extends TestCase
|
|||
));
|
||||
|
||||
$res = $this->callGetOptionsForUrl($io, array('https://example.org', array()), $streamOptions);
|
||||
$this->assertTrue(isset($res['ssl']) && isset($res['ssl']['allow_self_signed']) && true === $res['ssl']['allow_self_signed'], 'getOptions must return an array with a allow_self_signed set to true');
|
||||
$this->assertTrue(
|
||||
isset($res['ssl'], $res['ssl']['allow_self_signed']) && true === $res['ssl']['allow_self_signed'],
|
||||
'getOptions must return an array with a allow_self_signed set to true'
|
||||
);
|
||||
}
|
||||
|
||||
public function testGetOptionsForUrlWithCallOptionsKeepsHeader()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue