1
0
Fork 0
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:
Simon Berger 2020-09-11 23:51:55 +02:00
parent 974e7ba296
commit 80d71ccb3f
16 changed files with 31 additions and 43 deletions

View file

@ -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()