diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-12-10 15:59:29 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-12-12 15:38:18 +0100 |
commit | 2546bc5f5956803334b76d1d923acd129029b93d (patch) | |
tree | e2cc2cc2c1eb89391aae306bb9cc64ff2677f777 | |
parent | ca1e3828aa1ceb6fb2366ccecd619b28dfce8f31 (diff) | |
download | nextcloud-server-2546bc5f5956803334b76d1d923acd129029b93d.tar.gz nextcloud-server-2546bc5f5956803334b76d1d923acd129029b93d.zip |
fix(tests): Adapt ManagerTest to change in Exception class usedbackport/49361/stable30
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 15ecc839451..c0cf0ca9c12 100644 --- a/tests/lib/Share20/ManagerTest.php +++ b/tests/lib/Share20/ManagerTest.php @@ -594,7 +594,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'); } ); |