diff --git a/src/extensions/filters/capture_bytes/mod.rs b/src/extensions/filters/capture_bytes/mod.rs index 1381d3d868..dafb32d3fd 100644 --- a/src/extensions/filters/capture_bytes/mod.rs +++ b/src/extensions/filters/capture_bytes/mod.rs @@ -191,7 +191,7 @@ mod tests { use serde_yaml::{Mapping, Value}; use crate::config::{ConnectionConfig, EndPoint}; - use crate::test_utils::{assert_filter_on_downstream_receive_no_change, logger}; + use crate::test_utils::{assert_filter_on_upstream_receive_no_change, logger}; use super::*; @@ -305,7 +305,7 @@ mod tests { remove: false, }; let filter = capture_bytes(config); - assert_filter_on_downstream_receive_no_change(&filter); + assert_filter_on_upstream_receive_no_change(&filter); } #[test]