diff --git a/crates/harness/src/monolith.rs b/crates/harness/src/monolith.rs index 07ac47315..18b8f543c 100644 --- a/crates/harness/src/monolith.rs +++ b/crates/harness/src/monolith.rs @@ -498,7 +498,7 @@ impl MonolithBuilder { self.add_mock_http_raw(path, parts, body.into()) } - pub fn behavior(mut self, behavior: impl Behavior + Send + 'static) -> Self { + pub fn behavior(mut self, behavior: impl Behavior + 'static) -> Self { self.behavior = Some(Box::new(behavior)); self }