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/value_round_trip_test.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crates/shirabe/tests/plugin/value_round_trip_test.rs') diff --git a/crates/shirabe/tests/plugin/value_round_trip_test.rs b/crates/shirabe/tests/plugin/value_round_trip_test.rs index 3e01422a..51ff2899 100644 --- a/crates/shirabe/tests/plugin/value_round_trip_test.rs +++ b/crates/shirabe/tests/plugin/value_round_trip_test.rs @@ -4,7 +4,8 @@ //! in-process), so the fixture `fixtures/values-v1` is Shirabe-owned. use crate::async_runtime::run; -use crate::plugin_installer_test::{lock_php_worker, new_installer, php_runtime_available, set_up}; +use crate::php_worker::{lock_php_worker, php_runtime_available}; +use crate::plugin_installer_test::{new_installer, set_up}; use indexmap::IndexMap; use shirabe::installer::InstallerInterface; use shirabe::package::Link; -- cgit v1.3.1-4-g156e