aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/command
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-20 05:58:29 +0900
committernsfisis <nsfisis@gmail.com>2026-07-20 05:58:29 +0900
commit8766b9dbc981c827d49658b7bc79d860031c0493 (patch)
tree9f8af26786a37c2473abbb1f9ebbb805998d5b37 /crates/shirabe/tests/command
parent067252c91aea11045589795e4a98c8d6032e3356 (diff)
downloadphp-shirabe-8766b9dbc981c827d49658b7bc79d860031c0493.tar.gz
php-shirabe-8766b9dbc981c827d49658b7bc79d860031c0493.tar.zst
php-shirabe-8766b9dbc981c827d49658b7bc79d860031c0493.zip
fix(update-command): un-ignore test_interactive_tmp via assoc select choices
PHP's UpdateCommand::getPackagesInteractively passes $autocompleterValues keyed by package name to $io->select, so the selection resolves to package names. The port passed only the keys as a list, making select resolve to a numeric index that the update then treated as an unknown package. The old ignore reason (non-interactive terminal error) no longer applied. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/command')
-rw-r--r--crates/shirabe/tests/command/update_command_test.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/shirabe/tests/command/update_command_test.rs b/crates/shirabe/tests/command/update_command_test.rs
index ed17d80e..2fc20269 100644
--- a/crates/shirabe/tests/command/update_command_test.rs
+++ b/crates/shirabe/tests/command/update_command_test.rs
@@ -440,7 +440,6 @@ Package operations: 0 installs, 1 update, 0 removals
#[test]
#[serial]
-#[ignore = "interactive selection path unported: --interactive requires a TTY and errors with \"--interactive cannot be used in non-interactive terminals.\""]
fn test_interactive_tmp() {
for (package_names, expected) in provide_interactive_updates() {
let composer_json = serde_json::json!({