Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 8af69cf

Browse files
[2.5] cleanup deprecated uses
1 parent 3c08afb commit 8af69cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Core/Tests/Validator/Constraints/UserPasswordValidatorTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ public function testPasswordIsNotValid()
8686

8787
$this->validator->validate('secret', $constraint);
8888

89-
$this->assertViolation('myMessage');
89+
$this->buildViolation('myMessage')
90+
->assertRaised();
9091
}
9192

9293
/**

0 commit comments

Comments
 (0)