Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/environmentd/src/test_util.rs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really have context on the rest of this change, but this change here seems fine to me...

Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,14 @@ impl TestHarness {
self
}

pub fn with_mcp_routes(mut self, agents: bool, observatory: bool) -> Self {
for config in self.listeners_config.http.values_mut() {
config.routes.mcp_agents = agents;
config.routes.mcp_observatory = observatory;
}
self
}

pub fn with_internal_console_redirect_url(
mut self,
internal_console_redirect_url: Option<String>,
Expand Down
Loading
Loading