Fix a parameter name in a test

This commit is contained in:
Elnur Abdurrakhimov 2014-06-01 01:16:29 +04:00
parent 069683a14e
commit 069e925ae8

View File

@ -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()