Skip to content

Commit 47afadb

Browse files
committed
fixup: EventTypes.Message
1 parent 6e7a4f3 commit 47afadb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/push/test_bulk_push_rule_evaluator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
from twisted.internet.testing import MemoryReactor
2828

29-
from synapse.api.constants import EventContentFields, RelationTypes
29+
from synapse.api.constants import EventContentFields, EventTypes, RelationTypes
3030
from synapse.api.room_versions import RoomVersions
3131
from synapse.push.bulk_push_rule_evaluator import BulkPushRuleEvaluator
3232
from synapse.rest import admin
@@ -466,7 +466,7 @@ def test_thread_subscriptions(self) -> None:
466466
"event_id": thread_root_id,
467467
},
468468
},
469-
type="m.room.message",
469+
type=EventTypes.Message,
470470
)
471471
)
472472

0 commit comments

Comments
 (0)