Skip to content

Commit

Permalink
Fix naming in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
willdurand committed Oct 17, 2013
1 parent 8c14b08 commit a13142b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/CallbackValidator/Tests/CallbackValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ class CallbackValidatorTest extends TestCase
const IS_INVALID = false;

/**
* @dataProvider dataProviderForTestIsValid
* @dataProvider dataProviderForTestValidate
*/
public function testIsValid($callback, $expected)
public function testValidate($callback, $expected)
{
$validator = new CallbackValidator();
$this->assertEquals($expected, $validator->validate($callback));
}

public static function dataProviderForTestIsValid()
public static function dataProviderForTestValidate()
{
return array(
array('foo', self::IS_VALID),
Expand Down

0 comments on commit a13142b

Please sign in to comment.