chore: clippy fix

This commit is contained in:
Ning Sun
2026-08-24 16:56:39 +08:00
parent cb52adcbf7
commit c42f595225
+4 -2
View File
@@ -1877,8 +1877,10 @@ mod tests {
#[test]
fn test_legacy_event_context_fallback_uses_reason_and_typed_channel() {
let mut query_context = QueryContext::default();
query_context.channel = 4;
let mut query_context = QueryContext {
channel: 4,
..Default::default()
};
query_context.extensions.insert(
TRIGGER_REASON_EXTENSION_KEY.to_string(),
"auto_create".to_string(),