Skip to content

Commit 78e7e2a

Browse files
authored
Use rust crypto instead of legacy crypto in sync tests (#4623)
1 parent bdd4d82 commit 78e7e2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/integ/matrix-client-syncing.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ describe("MatrixClient syncing", () => {
119119
});
120120

121121
it("should emit RoomEvent.MyMembership for invite->leave->invite cycles", async () => {
122-
await client!.initLegacyCrypto();
122+
await client!.initRustCrypto();
123123

124124
const roomId = "!cycles:example.org";
125125

@@ -234,7 +234,7 @@ describe("MatrixClient syncing", () => {
234234
});
235235

236236
it("should emit RoomEvent.MyMembership for knock->leave->knock cycles", async () => {
237-
await client!.initLegacyCrypto();
237+
await client!.initRustCrypto();
238238

239239
const roomId = "!cycles:example.org";
240240

@@ -2580,7 +2580,7 @@ describe("MatrixClient syncing (IndexedDB version)", () => {
25802580
idbHttpBackend.when("GET", "/pushrules/").respond(200, {});
25812581
idbHttpBackend.when("POST", "/filter").respond(200, { filter_id: "a filter id" });
25822582

2583-
await idbClient.initLegacyCrypto();
2583+
await idbClient.initRustCrypto();
25842584

25852585
const roomId = "!invite:example.org";
25862586

0 commit comments

Comments
 (0)