minor #11026 [Validator] Fix a parameter name in a test (elnur)

This PR was merged into the 2.3 branch.

Discussion
----------

[Validator] Fix a parameter name in a test

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | none
| License       | MIT
| Doc PR        | not required

Commits
-------

069e925 Fix a parameter name in a test
This commit is contained in:
Fabien Potencier 2014-06-02 16:55:16 +02:00
commit 38bdcf141c

View File

@ -35,12 +35,12 @@ class NotBlankValidatorTest extends \PHPUnit_Framework_TestCase
/**
* @dataProvider getValidValues
*/
public function testValidValues($date)
public function testValidValues($value)
{
$this->context->expects($this->never())
->method('addViolation');
$this->validator->validate($date, new NotBlank());
$this->validator->validate($value, new NotBlank());
}
public function getValidValues()