From 78e7e2af3190fae843ec615eaa0017f3184e1b29 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Thu, 16 Jan 2025 18:27:33 +0100 Subject: [PATCH] Use rust crypto instead of legacy crypto in sync tests (#4623) --- spec/integ/matrix-client-syncing.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/integ/matrix-client-syncing.spec.ts b/spec/integ/matrix-client-syncing.spec.ts index e8b9d6e52f..59d29b82b7 100644 --- a/spec/integ/matrix-client-syncing.spec.ts +++ b/spec/integ/matrix-client-syncing.spec.ts @@ -119,7 +119,7 @@ describe("MatrixClient syncing", () => { }); it("should emit RoomEvent.MyMembership for invite->leave->invite cycles", async () => { - await client!.initLegacyCrypto(); + await client!.initRustCrypto(); const roomId = "!cycles:example.org"; @@ -234,7 +234,7 @@ describe("MatrixClient syncing", () => { }); it("should emit RoomEvent.MyMembership for knock->leave->knock cycles", async () => { - await client!.initLegacyCrypto(); + await client!.initRustCrypto(); const roomId = "!cycles:example.org"; @@ -2580,7 +2580,7 @@ describe("MatrixClient syncing (IndexedDB version)", () => { idbHttpBackend.when("GET", "/pushrules/").respond(200, {}); idbHttpBackend.when("POST", "/filter").respond(200, { filter_id: "a filter id" }); - await idbClient.initLegacyCrypto(); + await idbClient.initRustCrypto(); const roomId = "!invite:example.org";