From 0edc562120aa3f2ea72bed4a079ac2e6a1fadc9e Mon Sep 17 00:00:00 2001 From: Valere Date: Thu, 16 Apr 2020 00:39:21 +0200 Subject: [PATCH] Fix / test compilation --- .../matrix/android/internal/crypto/ssss/QuadSTests.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matrix-sdk-android/src/androidTest/java/im/vector/matrix/android/internal/crypto/ssss/QuadSTests.kt b/matrix-sdk-android/src/androidTest/java/im/vector/matrix/android/internal/crypto/ssss/QuadSTests.kt index 1a0723c725..cbd175f53f 100644 --- a/matrix-sdk-android/src/androidTest/java/im/vector/matrix/android/internal/crypto/ssss/QuadSTests.kt +++ b/matrix-sdk-android/src/androidTest/java/im/vector/matrix/android/internal/crypto/ssss/QuadSTests.kt @@ -71,7 +71,7 @@ class QuadSTests : InstrumentedTest { val TEST_KEY_ID = "my.test.Key" mTestHelper.doSync { - quadS.generateKey(TEST_KEY_ID, "Test Key", emptyKeySigner, it) + quadS.generateKey(TEST_KEY_ID, null, "Test Key", emptyKeySigner, it) } // Assert Account data is updated @@ -177,7 +177,7 @@ class QuadSTests : InstrumentedTest { val TEST_KEY_ID = "my.test.Key" mTestHelper.doSync { - quadS.generateKey(TEST_KEY_ID, "Test Key", emptyKeySigner, it) + quadS.generateKey(TEST_KEY_ID, null, "Test Key", emptyKeySigner, it) } // Test that we don't need to wait for an account data sync to access directly the keyid from DB @@ -322,7 +322,7 @@ class QuadSTests : InstrumentedTest { val quadS = session.sharedSecretStorageService val creationInfo = mTestHelper.doSync { - quadS.generateKey(keyId, keyId, emptyKeySigner, it) + quadS.generateKey(keyId, null, keyId, emptyKeySigner, it) } assertAccountData(session, "${DefaultSharedSecretStorageService.KEY_ID_BASE}.$keyId")