aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/dependency_resolver/transaction_test.rs
blob: 2ea74aaac15ec96e45248b5ff1386e3b63bbc406 (plain)
1
2
3
4
5
6
7
8
9
10
//! ref: composer/tests/Composer/Test/DependencyResolver/TransactionTest.php

// Transaction::new sorts operations via shirabe_php_shim::uasort_map, which is todo!().
// The fixture also calls setRequires/setProvides on non-root packages, which the public
// handle API does not allow, so the scenario cannot be expressed faithfully yet.
#[test]
#[ignore = "Transaction::new reaches uasort_map (todo!()); fixture needs link setters on non-root packages"]
fn test_transaction_generation_and_sorting() {
    todo!()
}