Fix a deprecated method call in the tests
This commit is contained in:
parent
6ccaa65bb8
commit
df9db258c1
@ -11,7 +11,6 @@
|
||||
|
||||
namespace Symfony\Component\Validator\Tests\Constraints;
|
||||
|
||||
use Symfony\Component\Validator\ExecutionContext;
|
||||
use Symfony\Component\Validator\Constraints\Choice;
|
||||
use Symfony\Component\Validator\Constraints\ChoiceValidator;
|
||||
|
||||
@ -37,7 +36,7 @@ class ChoiceValidatorTest extends \PHPUnit_Framework_TestCase
|
||||
$this->validator->initialize($this->context);
|
||||
|
||||
$this->context->expects($this->any())
|
||||
->method('getCurrentClass')
|
||||
->method('getClassName')
|
||||
->will($this->returnValue(__CLASS__));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user