mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Add types to Util
tests (#10228)
This commit is contained in:
parent
d51c7685da
commit
2992e8651a
21 changed files with 268 additions and 49 deletions
|
@ -32,6 +32,11 @@ class StreamContextFactoryTest extends TestCase
|
|||
|
||||
/**
|
||||
* @dataProvider dataGetContext
|
||||
*
|
||||
* @param mixed[] $expectedOptions
|
||||
* @param mixed[] $defaultOptions
|
||||
* @param mixed[] $expectedParams
|
||||
* @param mixed[] $defaultParams
|
||||
*/
|
||||
public function testGetContext($expectedOptions, $defaultOptions, $expectedParams, $defaultParams)
|
||||
{
|
||||
|
@ -157,6 +162,9 @@ class StreamContextFactoryTest extends TestCase
|
|||
|
||||
/**
|
||||
* @dataProvider dataSSLProxy
|
||||
*
|
||||
* @param string $expected
|
||||
* @param string $proxy
|
||||
*/
|
||||
public function testSSLProxy($expected, $proxy)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue