diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-12-10 15:59:29 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-12-12 20:15:35 +0000 |
commit | a5017fc0d351a2259e7d9961c5636ad2c1da706c (patch) | |
tree | 670267c7c9d0bde6f5827a72527a551007ce6785 | |
parent | cda5453fc6d302cbe1072215afc330ed60bea867 (diff) | |
download | nextcloud-server-a5017fc0d351a2259e7d9961c5636ad2c1da706c.tar.gz nextcloud-server-a5017fc0d351a2259e7d9961c5636ad2c1da706c.zip |
fix(tests): Adapt ManagerTest to change in Exception class usedbackport/49822/stable29
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r-- | tests/lib/Share20/ManagerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php index daa8c1a887b..8094f573332 100644 --- a/tests/lib/Share20/ManagerTest.php +++ b/tests/lib/Share20/ManagerTest.php @@ -608,7 +608,7 @@ class ManagerTest extends \Test\TestCase { $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'); } ); |