fix: add async_trait + exhaustive match for wrapup events in tests

This commit is contained in:
2026-06-02 22:14:50 +02:00
parent 7ef8912d69
commit 5e740ba2a1
2 changed files with 4 additions and 0 deletions

View File

@@ -59,6 +59,8 @@ impl EventHandler for RecordingHandler {
DomainEvent::BackfillFollower { .. } => "backfill_follower",
DomainEvent::FederationDeliveryRequested { .. } => "federation_delivery",
DomainEvent::WatchEventIngested { .. } => "watch_event_ingested",
DomainEvent::WrapUpRequested { .. } => "wrapup_requested",
DomainEvent::WrapUpCompleted { .. } => "wrapup_completed",
};
self.calls.lock().unwrap().push(label);
Ok(())