mirror of
https://github.com/openai/codex.git
synced 2026-11-17 22:10:37 +00:00
codex: fix CI failure on PR #25193
This commit is contained in:
@@ -336,12 +336,17 @@ async fn plugin_share_save_rejects_when_plugin_sharing_disabled() -> Result<()>
|
||||
let plugin_root = TempDir::new()?;
|
||||
let plugin_path = write_test_plugin(plugin_root.path(), "demo-plugin")?;
|
||||
let server = MockServer::start().await;
|
||||
// This test verifies sharing makes no backend request; startup analytics
|
||||
// would otherwise be an unrelated request to the same mock server.
|
||||
std::fs::write(
|
||||
codex_home.path().join("config.toml"),
|
||||
format!(
|
||||
r#"
|
||||
chatgpt_base_url = "{}/backend-api"
|
||||
|
||||
[analytics]
|
||||
enabled = false
|
||||
|
||||
[features]
|
||||
plugins = true
|
||||
remote_plugin = true
|
||||
|
||||
Reference in New Issue
Block a user