mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +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
|
@ -19,6 +19,9 @@ class RequestProxyTest extends TestCase
|
|||
{
|
||||
/**
|
||||
* @dataProvider dataSecure
|
||||
*
|
||||
* @param string $url
|
||||
* @param bool $expectedSecure
|
||||
*/
|
||||
public function testIsSecure($url, $expectedSecure)
|
||||
{
|
||||
|
@ -39,6 +42,10 @@ class RequestProxyTest extends TestCase
|
|||
|
||||
/**
|
||||
* @dataProvider dataProxyUrl
|
||||
*
|
||||
* @param string $url
|
||||
* @param string $format
|
||||
* @param string $expected
|
||||
*/
|
||||
public function testGetFormattedUrlFormat($url, $format, $expected)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue