mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
fix(Security): Adjust test to exception text change
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
This commit is contained in:
parent
bf7aee3310
commit
bc16636653
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue