From 8b09efac4a7c5e07d4d443e902a963cd7ee8304c Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Tue, 19 Nov 2024 21:24:10 -0500 Subject: [PATCH] fix test --- test/unit-tests/components/views/rooms/EventTile-test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit-tests/components/views/rooms/EventTile-test.tsx b/test/unit-tests/components/views/rooms/EventTile-test.tsx index 9d28becd1a..373b517f68 100644 --- a/test/unit-tests/components/views/rooms/EventTile-test.tsx +++ b/test/unit-tests/components/views/rooms/EventTile-test.tsx @@ -302,7 +302,7 @@ describe("EventTile", () => { [EventShieldReason.AUTHENTICITY_NOT_GUARANTEED, "can't be guaranteed"], [EventShieldReason.MISMATCHED_SENDER_KEY, "Encrypted by an unverified session"], [EventShieldReason.SENT_IN_CLEAR, "Not encrypted"], - [EventShieldReason.VERIFICATION_VIOLATION, "previously-verified user"], + [EventShieldReason.VERIFICATION_VIOLATION, "Sender's verified identity has changed"], ])("shows the correct reason code for %i (%s)", async (reasonCode: EventShieldReason, expectedText: string) => { mxEvent = await mkEncryptedMatrixEvent({ plainContent: { msgtype: "m.text", body: "msg1" },