aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-12-10 15:59:29 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-12-12 20:14:19 +0000
commitb061273135eeb500983c49df7fa46c89fb539375 (patch)
treed0909e67f233ce47ab244f188d09219c91d91671
parenta3f4eaa6d487325ea56928345c339280f0b1a145 (diff)
downloadnextcloud-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.php2
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');
}
);