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:14:19 +0000 |
commit | b061273135eeb500983c49df7fa46c89fb539375 (patch) | |
tree | d0909e67f233ce47ab244f188d09219c91d91671 | |
parent | a3f4eaa6d487325ea56928345c339280f0b1a145 (diff) | |
download | nextcloud-server-backport/49822/stable28.tar.gz nextcloud-server-backport/49822/stable28.zip |
fix(tests): Adapt ManagerTest to change in Exception class usedbackport/49822/stable28
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 e352c088d51..7ed3c063611 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'); } ); |