Skip to content

Commit d8bceab

Browse files
committed
merged branch vicb/fixvalid (PR #6938)
This PR was submitted for the master branch but it was merged into the 2.2 branch instead (closes #6938). Commits ------- b279dcb [Validator] Fix a deprecated method call in the tests Discussion ---------- [Validator] Fix a deprecated method call in the tests BUG FIX - Travis happier ? --------------------------------------------------------------------------- by stloyd at 2013-02-01T12:23:18Z This should go to `2.2` I guess... =) --------------------------------------------------------------------------- by vicb at 2013-02-01T12:25:43Z Well there has been no official announcement for the 2.2 branch I think ? I hope that some PR pending for master will go into 2.2 anyway ? /cc @fabpot --------------------------------------------------------------------------- by vicb at 2013-02-01T12:38:35Z C'mon Travis, aren't you allowed to fail for 5.5 ? --------------------------------------------------------------------------- by stloyd at 2013-02-01T12:43:42Z @vicb error != failed ;-) Yet I agree, that now it's more confusing than before this new status... --------------------------------------------------------------------------- by fabpot at 2013-02-01T13:27:11Z I will merged it into 2.2. 2.2 is entering the RC phase, so no more modifications will be merged.
2 parents 6ccaa65 + df9db25 commit d8bceab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Component\Validator\Tests\Constraints;
1313

14-
use Symfony\Component\Validator\ExecutionContext;
1514
use Symfony\Component\Validator\Constraints\Choice;
1615
use Symfony\Component\Validator\Constraints\ChoiceValidator;
1716

@@ -37,7 +36,7 @@ protected function setUp()
3736
$this->validator->initialize($this->context);
3837

3938
$this->context->expects($this->any())
40-
->method('getCurrentClass')
39+
->method('getClassName')
4140
->will($this->returnValue(__CLASS__));
4241
}
4342

0 commit comments

Comments
 (0)