diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2015-01-05 15:28:40 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2015-01-05 15:28:40 +0100 |
commit | 887bcdd527e7a428d5073db41213d18cdc10b8ef (patch) | |
tree | 160e4af871e44d392aac2e466698c85a55e3c3a8 /Core/Tests | |
parent | b7409ef75f050977d0444913b103413f36888430 (diff) | |
parent | 8af69cf36352101a532763414d25f01a39a8d3d5 (diff) | |
download | symfony-security-887bcdd527e7a428d5073db41213d18cdc10b8ef.zip symfony-security-887bcdd527e7a428d5073db41213d18cdc10b8ef.tar.gz symfony-security-887bcdd527e7a428d5073db41213d18cdc10b8ef.tar.bz2 |
Merge branch '2.5' into 2.6
* 2.5:
[2.5] cleanup deprecated uses
Diffstat (limited to 'Core/Tests')
-rw-r--r-- | Core/Tests/Validator/Constraints/UserPasswordValidatorTest.php | 3 |
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(); } /** |