Skip to content

Commit cbae583

Browse files
committed
Remove "test" prefix from data provider method
This prevents PHPUnit from executing the data provider as a test and warning that it performs no assertions.
1 parent 41eb2d5 commit cbae583

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/dflydev/tests/util/antPathMatcher/AntPathMatcherTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function testLeadingPathCharacterMismatch() {
3030
}
3131

3232
/**
33-
* @dataProvider testMatchesProvider
33+
* @dataProvider provideMatches
3434
*/
3535
public function testMatches($pattern, $shouldMatch, $shouldNotMatch)
3636
{
@@ -48,7 +48,7 @@ public function formatTestMatchesMessage($pattern, $path)
4848
return 'Testing path "' . $path . '" against pattern "' . $pattern . '"';
4949
}
5050

51-
public function testMatchesProvider()
51+
public function provideMatches()
5252
{
5353
return array(
5454
array(

0 commit comments

Comments
 (0)