aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/command/self_update_command_test.rs
blob: d741302616f87ac8d3fcc38bd658e33f13f96108 (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 = "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!()
}