element-web-Github/test/unit-tests/components/views/dialogs/security
Florian Duros 46d13921d0
First batch: remove deprecated calls on MatrixClient (#28207)
* Remove `initCrypto` mocking

* Remove `MatrixClient.downloadKeys` mocking

* Remove `MatrixClient.getStoredDevice` mocking

* Replace `MatrixClient.setGlobalBlacklistUnverifiedDevices` by `MatrixClient.CryptoApi.globalBlacklistUnverifiedDevices`

* Remove `MatrixClient.getStoredCrossSigningForUser` mocking

* Replace `MatrixClient.legacyDeviceVerification` by `MatrixClient.CryptoApi.requestDeviceVerification`

* Remove `MatrixClient.isCrossSigningReady` mock

* Replace `MatrixClient.bootstrapCrossSigning` by `MatrixClient.getCrypto.bootstrapCrossSigning`

* Replace `MatrixClient.getCryptoTrustCrossSignedDevices` by `MatrixClient.getCrypto.getTrustCrossSignedDevices`

* Replace `MatrixClient.hasSecretStorageKey` by `MatrixClient.SecretStorage.hasKey`

* Replace `MatrixClient.getDefaultSecretStorageKeyId` by `MatrixClient.SecretStorage.getDefaultKeyId`

* Remove `MatrixClient.encryptAndSendToDevices` call
2024-10-21 12:53:39 +01:00
..
__snapshots__ Prepare for repo merge 2024-10-15 11:35:21 +01:00
CreateKeyBackupDialog-test.tsx First batch: remove deprecated calls on MatrixClient (#28207) 2024-10-21 12:53:39 +01:00
CreateSecretStorageDialog-test.tsx - Remove deprecated MatrixClient.keyBackupKeyFromPassword call. (#28233) 2024-10-21 09:59:07 +00:00
ExportE2eKeysDialog-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
ImportE2eKeysDialog-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
RestoreKeyBackupDialog-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00