From 7e7837a559310792dcf312e0c52857450ed781dc Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 16 Aug 2026 16:26:10 +0900 Subject: refactor(tests): share the PHP worker helpers with the plugin binary plugin_installer_test.rs carried its own copy of php_runtime_available, lock_php_worker and load_composer_php_runtime, and the other ten files in the binary imported them from there. The bodies matched tests/common/php_worker.rs, so include that instead. Co-Authored-By: Claude Opus 5 (1M context) --- crates/shirabe/tests/plugin/e2e_command_provider_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/shirabe/tests/plugin/e2e_command_provider_test.rs') diff --git a/crates/shirabe/tests/plugin/e2e_command_provider_test.rs b/crates/shirabe/tests/plugin/e2e_command_provider_test.rs index 4d04fb22..c8ae81c5 100644 --- a/crates/shirabe/tests/plugin/e2e_command_provider_test.rs +++ b/crates/shirabe/tests/plugin/e2e_command_provider_test.rs @@ -7,7 +7,7 @@ //! fetched; the test skips only while the PHP runtime or the Composer checkout is missing. use crate::e2e_extension_installer_test::{copy_dir, upstream_composer_bin}; -use crate::plugin_installer_test::{lock_php_worker, php_runtime_available}; +use crate::php_worker::{lock_php_worker, php_runtime_available}; use std::path::{Path, PathBuf}; use tempfile::TempDir; -- cgit v1.3.1-4-g156e