diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-02 18:04:29 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-02 18:04:29 +0900 |
| commit | 33fe16285acbed1f5146c2d746eba2295bd57688 (patch) | |
| tree | 0df8f83fd9e95e87406e350ce48816451b6d07af /crates/mozart-test-harness | |
| parent | 82501a36a0fa6725d656742da42c860e75a89b89 (diff) | |
| parent | c446337e75ba9fd674dd63d56ec25d7bd5b5fa31 (diff) | |
| download | php-mozart-33fe16285acbed1f5146c2d746eba2295bd57688.tar.gz php-mozart-33fe16285acbed1f5146c2d746eba2295bd57688.tar.zst php-mozart-33fe16285acbed1f5146c2d746eba2295bd57688.zip | |
Merge branch 'test/di'
Diffstat (limited to 'crates/mozart-test-harness')
| -rw-r--r-- | crates/mozart-test-harness/src/runner.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crates/mozart-test-harness/src/runner.rs b/crates/mozart-test-harness/src/runner.rs index acff8b5..cefd50f 100644 --- a/crates/mozart-test-harness/src/runner.rs +++ b/crates/mozart-test-harness/src/runner.rs @@ -46,17 +46,9 @@ pub fn run_test(test: &ParsedTest, mozart_bin: &Path) -> Result<RunResult> { } let args: Vec<&str> = test.run.split_whitespace().collect(); - // Force a non-routable proxy so any stray HTTP request from `mozart` - // (e.g. inline `package` fixtures whose dist.url points at example.org) - // fails fast instead of hitting the network. Composer's PHPUnit suite - // uses InstallationManagerMock; we can't mock the binary's HTTP client, - // but `reqwest` honors HTTP(S)_PROXY env vars by default. let output = Command::new(mozart_bin) .args(&args) .current_dir(root) - .env("HTTP_PROXY", "http://127.0.0.1:1") - .env("HTTPS_PROXY", "http://127.0.0.1:1") - .env("NO_PROXY", "") .output() .with_context(|| format!("failed to invoke {}", mozart_bin.display()))?; |
