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

Commit 887bcdd

Browse files
committed
Merge branch '2.5' into 2.6
* 2.5: [2.5] cleanup deprecated uses
2 parents b7409ef + 8af69cf commit 887bcdd

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)