summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Grekas <nicolas.grekas@gmail.com>2015-01-04 15:37:21 +0100
committerNicolas Grekas <nicolas.grekas@gmail.com>2015-01-05 09:51:41 +0100
commit8af69cf36352101a532763414d25f01a39a8d3d5 (patch)
tree20d602ab088c0c17564a7f15f91266f9c6daa47a
parent3c08afb6d3cacf22c9799bfb0f08c3235ef38cd6 (diff)
downloadsymfony-security-8af69cf36352101a532763414d25f01a39a8d3d5.zip
symfony-security-8af69cf36352101a532763414d25f01a39a8d3d5.tar.gz
symfony-security-8af69cf36352101a532763414d25f01a39a8d3d5.tar.bz2
[2.5] cleanup deprecated uses
-rw-r--r--Core/Tests/Validator/Constraints/UserPasswordValidatorTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Core/Tests/Validator/Constraints/UserPasswordValidatorTest.php b/Core/Tests/Validator/Constraints/UserPasswordValidatorTest.php
index b47a45b..7792913 100644
--- a/Core/Tests/Validator/Constraints/UserPasswordValidatorTest.php
+++ b/Core/Tests/Validator/Constraints/UserPasswordValidatorTest.php
@@ -86,7 +86,8 @@ abstract class UserPasswordValidatorTest extends AbstractConstraintValidatorTest
$this->validator->validate('secret', $constraint);
- $this->assertViolation('myMessage');
+ $this->buildViolation('myMessage')
+ ->assertRaised();
}
/**