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:
commit
38bdcf141c
@ -35,12 +35,12 @@ class NotBlankValidatorTest extends \PHPUnit_Framework_TestCase
|
|||||||
/**
|
/**
|
||||||
* @dataProvider getValidValues
|
* @dataProvider getValidValues
|
||||||
*/
|
*/
|
||||||
public function testValidValues($date)
|
public function testValidValues($value)
|
||||||
{
|
{
|
||||||
$this->context->expects($this->never())
|
$this->context->expects($this->never())
|
||||||
->method('addViolation');
|
->method('addViolation');
|
||||||
|
|
||||||
$this->validator->validate($date, new NotBlank());
|
$this->validator->validate($value, new NotBlank());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getValidValues()
|
public function getValidValues()
|
||||||
|
Reference in New Issue
Block a user