diff options
Diffstat (limited to 'crates/shirabe/tests/command/self_update_command_test.rs')
| -rw-r--r-- | crates/shirabe/tests/command/self_update_command_test.rs | 14 |
1 files changed, 14 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 a4b7358..d741302 100644 --- a/crates/shirabe/tests/command/self_update_command_test.rs +++ b/crates/shirabe/tests/command/self_update_command_test.rs @@ -1,25 +1,39 @@ //! ref: composer/tests/Composer/Test/Command/SelfUpdateCommandTest.php +/// Returns the path to the copied composer.phar used by the test bodies. +fn set_up() -> String { + // Depends on initTempComposer and the composer-test.phar fixture, neither ported yet. + todo!() +} + #[test] #[ignore = "requires the ApplicationTester harness, which is not yet ported"] fn test_successful_update() { + let _phar = set_up(); + todo!() } #[test] #[ignore = "requires the ApplicationTester harness, which is not yet ported"] fn test_update_to_specific_version() { + let _phar = set_up(); + todo!() } #[test] #[ignore = "requires the ApplicationTester harness, which is not yet ported"] fn test_update_with_invalid_option_throws_exception() { + let _phar = set_up(); + todo!() } #[test] #[ignore = "requires the ApplicationTester harness, which is not yet ported"] fn test_update_to_different_channel() { + let _phar = set_up(); + todo!() } |
