Browse Source
Adapt encryption test to change in generateHeader
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/38206/head
Côme Chilliet
3 years ago
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
1 changed files with
1 additions and
1 deletions
-
apps/encryption/tests/Crypto/CryptTest.php
|
|
|
@ -137,7 +137,7 @@ class CryptTest extends TestCase { |
|
|
|
*/ |
|
|
|
public function dataTestGenerateHeader() { |
|
|
|
return [ |
|
|
|
[null, 'HBEGIN:cipher:AES-128-CFB:keyFormat:hash:encoding:binary:HEND'], |
|
|
|
[null, 'HBEGIN:cipher:AES-128-CFB:keyFormat:hash2:encoding:binary:HEND'], |
|
|
|
['password', 'HBEGIN:cipher:AES-128-CFB:keyFormat:password:encoding:binary:HEND'], |
|
|
|
['hash', 'HBEGIN:cipher:AES-128-CFB:keyFormat:hash:encoding:binary:HEND'] |
|
|
|
]; |
|
|
|
|