//! 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!() }