From d10a6b3e535f540e66e1bec22ec746bf9abeba5e Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 18 Mar 2026 10:18:27 +0000 Subject: [PATCH] Remove redundant unsigned.redacted_because --- tests/replication/storage/test_events.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/replication/storage/test_events.py b/tests/replication/storage/test_events.py index 28bfb8b8ea..b0e3cc8db4 100644 --- a/tests/replication/storage/test_events.py +++ b/tests/replication/storage/test_events.py @@ -102,7 +102,6 @@ class EventsWorkerStoreTestCase(BaseWorkerStoreTestCase): msg_dict = msg.get_dict() msg_dict["content"] = {} msg_dict["unsigned"]["redacted_by"] = redaction.event_id - msg_dict["unsigned"]["redacted_because"] = redaction redacted = make_event_from_dict( msg_dict, internal_metadata_dict=msg.internal_metadata.get_dict() ) @@ -126,7 +125,6 @@ class EventsWorkerStoreTestCase(BaseWorkerStoreTestCase): msg_dict = msg.get_dict() msg_dict["content"] = {} msg_dict["unsigned"]["redacted_by"] = redaction.event_id - msg_dict["unsigned"]["redacted_because"] = redaction redacted = make_event_from_dict( msg_dict, internal_metadata_dict=msg.internal_metadata.get_dict() )