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/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/shirabe/tests/plugin/main.rs') diff --git a/crates/shirabe/tests/plugin/main.rs b/crates/shirabe/tests/plugin/main.rs index 8c0b394d..d8defcbc 100644 --- a/crates/shirabe/tests/plugin/main.rs +++ b/crates/shirabe/tests/plugin/main.rs @@ -2,6 +2,8 @@ mod async_runtime; #[path = "../common/config_stub.rs"] mod config_stub; +#[path = "../common/php_worker.rs"] +mod php_worker; mod alias_package_test; mod e2e_command_provider_test; -- cgit v1.3.1-4-g156e