diff options
author | Josh Richards <josh.t.richards@gmail.com> | 2024-06-27 11:25:10 -0400 |
---|---|---|
committer | Josh Richards <josh.t.richards@gmail.com> | 2024-06-27 11:25:10 -0400 |
commit | bc16636653b171d063288b5556aea50db1881ebb (patch) | |
tree | 95205f9eee41c1087b6df19e57f061dbf48d8b97 | |
parent | bf7aee3310b5180c72cdafcce3a9d479c296cecc (diff) | |
download | nextcloud-server-jtr/fix-hash-hkdf-valueerror.tar.gz nextcloud-server-jtr/fix-hash-hkdf-valueerror.zip |
fix(Security): Adjust test to exception text changejtr/fix-hash-hkdf-valueerror
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
-rw-r--r-- | tests/lib/Security/CryptoTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'); |