Skip to content

Commit

Permalink
fix(tests): Adapt ManagerTest to change in Exception class used
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Dec 10, 2024
1 parent 79ce725 commit cca3072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/Share20/ManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ public function testVerifyPasswordHookFails(): void {
$this->assertInstanceOf(ValidatePasswordPolicyEvent::class, $event);
/** @var ValidatePasswordPolicyEvent $event */
$this->assertSame('password', $event->getPassword());
throw new HintException('message', 'password not accepted');
throw new HintException('password not accepted');
}
);

Expand Down

0 comments on commit cca3072

Please sign in to comment.