1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-08 16:17:37 +00:00

fix risky tests (without any assertion)

This commit is contained in:
Ion Bazan 2020-02-07 14:35:07 +08:00
parent db32d6bc18
commit 58b34d13e8
11 changed files with 33 additions and 16 deletions

View file

@ -83,7 +83,7 @@ class ArrayLoaderTest extends TestCase
$this->assertEquals('1.2.3.4', $package->getVersion());
}
public function testParseDumpProvider()
public function parseDumpProvider()
{
$validConfig = array(
'name' => 'A/B',
@ -142,7 +142,7 @@ class ArrayLoaderTest extends TestCase
* The default parser should default to loading the config as this
* allows require-dev libraries to have transport options included.
*
* @dataProvider testParseDumpProvider
* @dataProvider parseDumpProvider
*/
public function testParseDumpDefaultLoadConfig($config)
{
@ -153,7 +153,7 @@ class ArrayLoaderTest extends TestCase
}
/**
* @dataProvider testParseDumpProvider
* @dataProvider parseDumpProvider
*/
public function testParseDumpTrueLoadConfig($config)
{
@ -165,7 +165,7 @@ class ArrayLoaderTest extends TestCase
}
/**
* @dataProvider testParseDumpProvider
* @dataProvider parseDumpProvider
*/
public function testParseDumpFalseLoadConfig($config)
{