aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/util/gitlab_test.rs
blob: e7c8bf49f89f38902739698a234730581a49007c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! ref: composer/tests/Composer/Test/Util/GitLabTest.php

// Both cases construct GitLab with a mocked IO/Config/JsonConfigSource and a mocked
// HttpDownloader to drive the username/password authentication flow. Mocking is not
// available, and a real HttpDownloader reaches curl_multi_init (todo!()).

#[ignore = "needs getIOMock/IOMock and getMockBuilder mocks for HttpDownloader/Config/JsonConfigSource (no mock infrastructure)"]
#[test]
fn test_username_password_authentication_flow() {
    todo!()
}

#[ignore = "needs getIOMock/IOMock and getMockBuilder mocks for HttpDownloader/Config/JsonConfigSource (no mock infrastructure)"]
#[test]
fn test_username_password_failure() {
    todo!()
}