blob: 8e515807437fc3ed8b01f355328238210bc84fbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 = "depends on initTempComposer, composer-test.phar fixture, and Symfony Process to spawn the phar; none ported"]
fn test_successful_update() {
let _phar = set_up();
todo!()
}
#[test]
#[ignore = "depends on initTempComposer, composer-test.phar fixture, and Symfony Process to spawn the phar; none ported"]
fn test_update_to_specific_version() {
let _phar = set_up();
todo!()
}
#[test]
#[ignore = "depends on getApplicationTester (ApplicationTester) which is not ported"]
fn test_update_with_invalid_option_throws_exception() {
let _phar = set_up();
todo!()
}
#[test]
#[ignore = "depends on initTempComposer, composer-test.phar fixture, and Symfony Process to spawn the phar; none ported"]
fn test_update_to_different_channel() {
let _phar = set_up();
todo!()
}
|