MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / no_match_wrong_collection

Function no_match_wrong_collection

nodedb/src/control/trigger/registry.rs:294–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

292
293 #[test]
294 fn no_match_wrong_collection() {
295 let reg = TriggerRegistry::new();
296 reg.register(sample("t1", "orders", TriggerTiming::After, true));
297 assert!(reg.get_matching(1, "users", DmlEvent::Insert).is_empty());
298 }
299
300 #[test]
301 fn disabled_not_matched() {

Callers

nothing calls this directly

Calls 2

sampleFunction · 0.70
registerMethod · 0.45

Tested by

no test coverage detected