From bc16636653b171d063288b5556aea50db1881ebb Mon Sep 17 00:00:00 2001 From: Josh Richards Date: Thu, 27 Jun 2024 11:25:10 -0400 Subject: [PATCH] fix(Security): Adjust test to exception text change Signed-off-by: Josh Richards --- tests/lib/Security/CryptoTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/Security/CryptoTest.php b/tests/lib/Security/CryptoTest.php index b65a9a36985..388cac32660 100644 --- a/tests/lib/Security/CryptoTest.php +++ b/tests/lib/Security/CryptoTest.php @@ -65,7 +65,7 @@ class CryptoTest extends \Test\TestCase { public function testWrongParameters() { $this->expectException(\Exception::class); - $this->expectExceptionMessage('Authenticated ciphertext could not be decoded.'); + $this->expectExceptionMessage('Authenticated ciphertext could not be decoded (invalid format).'); $encryptedString = '1|2'; $this->crypto->decrypt($encryptedString, 'ThisIsAVeryS3cur3P4ssw0rd');