aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/util/gitlab_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/util/gitlab_test.rs')
-rw-r--r--crates/shirabe/tests/util/gitlab_test.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/crates/shirabe/tests/util/gitlab_test.rs b/crates/shirabe/tests/util/gitlab_test.rs
index 2f42f47..27b7258 100644
--- a/crates/shirabe/tests/util/gitlab_test.rs
+++ b/crates/shirabe/tests/util/gitlab_test.rs
@@ -1 +1,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!()).
+
+#[test]
+#[ignore = "mocks IO/Config/HttpDownloader for the auth flow; a real HttpDownloader reaches curl_multi_init (todo!())"]
+fn test_username_password_authentication_flow() {
+ todo!()
+}
+
+#[test]
+#[ignore = "mocks IO/Config/HttpDownloader for the auth flow; a real HttpDownloader reaches curl_multi_init (todo!())"]
+fn test_username_password_failure() {
+ todo!()
+}