Fix a deprecated method call in the tests

This commit is contained in:
Victor 2013-02-01 13:12:48 +01:00 committed by Fabien Potencier
parent 6ccaa65bb8
commit df9db258c1

View File

@ -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__));
}