diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-21 04:11:50 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-21 04:11:50 +0900 |
| commit | 343e6fcc129b47768059860e26ef6372170794b2 (patch) | |
| tree | 8188b36316e5c7ba60e954fe6e1533bc07808249 /crates/shirabe/tests/command/self_update_command_test.rs | |
| parent | 5f85bb006a71eef80037102936a6530510662365 (diff) | |
| download | php-shirabe-343e6fcc129b47768059860e26ef6372170794b2.tar.gz php-shirabe-343e6fcc129b47768059860e26ef6372170794b2.tar.zst php-shirabe-343e6fcc129b47768059860e26ef6372170794b2.zip | |
test: port MetapackageInstallerTest and SelfUpdate/Status/Home command stubs
MetapackageInstaller install/uninstall verified against a real
InstalledArrayRepository; update reaches version_compare (todo!()) and is
ignored. The command tests need the ApplicationTester harness (stubbed).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/command/self_update_command_test.rs')
| -rw-r--r-- | crates/shirabe/tests/command/self_update_command_test.rs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/crates/shirabe/tests/command/self_update_command_test.rs b/crates/shirabe/tests/command/self_update_command_test.rs index 6623853..a4b7358 100644 --- a/crates/shirabe/tests/command/self_update_command_test.rs +++ b/crates/shirabe/tests/command/self_update_command_test.rs @@ -1 +1,25 @@ //! ref: composer/tests/Composer/Test/Command/SelfUpdateCommandTest.php + +#[test] +#[ignore = "requires the ApplicationTester harness, which is not yet ported"] +fn test_successful_update() { + todo!() +} + +#[test] +#[ignore = "requires the ApplicationTester harness, which is not yet ported"] +fn test_update_to_specific_version() { + todo!() +} + +#[test] +#[ignore = "requires the ApplicationTester harness, which is not yet ported"] +fn test_update_with_invalid_option_throws_exception() { + todo!() +} + +#[test] +#[ignore = "requires the ApplicationTester harness, which is not yet ported"] +fn test_update_to_different_channel() { + todo!() +} |
