There was an error while loading. Please reload this page.
1 parent 6ccaa65 commit df9db25Copy full SHA for df9db25
src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php
@@ -11,7 +11,6 @@
11
12
namespace Symfony\Component\Validator\Tests\Constraints;
13
14
-use Symfony\Component\Validator\ExecutionContext;
15
use Symfony\Component\Validator\Constraints\Choice;
16
use Symfony\Component\Validator\Constraints\ChoiceValidator;
17
@@ -37,7 +36,7 @@ protected function setUp()
37
36
$this->validator->initialize($this->context);
38
39
$this->context->expects($this->any())
40
- ->method('getCurrentClass')
+ ->method('getClassName')
41
->will($this->returnValue(__CLASS__));
42
}
43
0 commit comments