Skip to content

Commit

Permalink
Update spec/integ/crypto/verification.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh authored Jun 26, 2023
1 parent f67a7a0 commit 1398ac0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/integ/crypto/verification.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,7 @@ describe.each(Object.entries(CRYPTO_BACKENDS))("verification (%s)", (backend: st
request.cancel(),
]);
const toDeviceMessage = requestBody.messages[TEST_USER_ID][TEST_DEVICE_ID];
expect(toDeviceMessage.transaction_id).toEqual(transactionId);
expect(toDeviceMessage.code).toEqual("m.user");
expect(toDeviceMessage).toMatchObject({ transaction_id: transactionId, code: "m.user" });
expect(request.phase).toEqual(VerificationPhase.Cancelled);
});

Expand Down

0 comments on commit 1398ac0

Please sign in to comment.