Browse Source

Fix tests

Signed-off-by: alperozturk <alper_ozturk@proton.me>
alperozturk 1 year ago
parent
commit
d201f9b4e3

+ 1 - 1
app/src/androidTest/java/com/owncloud/android/utils/EncryptionUtilsV2IT.kt

@@ -831,7 +831,7 @@ class EncryptionUtilsV2IT : AbstractIT() {
         val signature = encryptionUtilsV2.getMessageSignature(enc1Cert, enc1PrivateKey, encryptedFolderMetadata1)
 
         // serialize
-        val encryptedJson = EncryptionUtils.serializeJSON(encryptedFolderMetadata1)
+        val encryptedJson = EncryptionUtils.serializeJSON(encryptedFolderMetadata1, true)
 
         // de-serialize
         val encryptedFolderMetadata2 = EncryptionUtils.deserializeJSON(