diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-12-10 15:59:29 +0100 |
---|---|---|
committer | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2024-12-12 15:39:48 +0100 |
commit | 365ff40929bd5eab458f88efb18f31a8207722e5 (patch) | |
tree | f386377934234aa073e8543e57b6e7424704c550 /tests | |
parent | 17007f6b8dae214355c164b274915413628cb5d0 (diff) | |
download | nextcloud-server-365ff40929bd5eab458f88efb18f31a8207722e5.tar.gz nextcloud-server-365ff40929bd5eab458f88efb18f31a8207722e5.zip |
fix(tests): Adapt ManagerTest to change in Exception class usedfix/remove-share-hint-exception-wrapping
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests')
-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 79a88f9af9e..091a79e6d40 100644 --- a/tests/lib/Share20/ManagerTest.php +++ b/tests/lib/Share20/ManagerTest.php @@ -798,7 +798,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'); } ); |