1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-27 07:44:30 +02:00

tests: rename dataproviders not to be picked up as tests

This commit is contained in:
Elan Ruusamäe
2018-01-05 13:13:20 +02:00
parent eb4c0f6541
commit bb7fc74330
2 changed files with 7 additions and 6 deletions

View File

@@ -57,7 +57,8 @@ class JSMinTest extends TestCase
* @param string $label
* @param string $expClass
* @param string $expMessage
* @dataProvider testJSMinExceptionData
*
* @dataProvider JSMinExceptionDataProvider
*/
public function testJSMinException($js, $label, $expClass, $expMessage)
{
@@ -71,7 +72,7 @@ class JSMinTest extends TestCase
$this->assertTrue($eClass === $expClass && $eMsg === $expMessage, 'Throw on ' . $label);
}
public function testJSMinExceptionData()
public function JSMinExceptionDataProvider()
{
// $js, $label, $expClass, $expMessage
return array(