Commit c23e9819 authored by Brad King's avatar Brad King
Browse files

test: update data for gitlab 12.8

parent 6e4f4e95
This diff is collapsed.
......@@ -18,6 +18,7 @@
"build_git_strategy": "fetch",
"build_timeout": 3600,
"builds_access_level": "enabled",
"can_create_merge_request_in": true,
"ci_config_path": null,
"ci_default_git_depth": null,
"container_registry_enabled": false,
......@@ -25,8 +26,9 @@
"creator_id": 13,
"default_branch": "master",
"description": "Rust library for communicating with a Gitlab instance.",
"emails_disabled": false,
"empty_repo": false,
"forks_count": 17,
"forks_count": 24,
"http_url_to_repo": "https://gitlab.kitware.com/utils/rust-gitlab.git",
"id": 855,
"import_error": null,
......@@ -34,7 +36,7 @@
"issues_access_level": "enabled",
"issues_enabled": true,
"jobs_enabled": true,
"last_activity_at": "2019-07-30T12:42:57.649-04:00",
"last_activity_at": "2020-02-29T01:30:35.515-05:00",
"lfs_enabled": false,
"merge_method": "merge",
"merge_requests_access_level": "enabled",
......@@ -53,7 +55,8 @@
},
"only_allow_merge_if_all_discussions_are_resolved": null,
"only_allow_merge_if_pipeline_succeeds": false,
"open_issues_count": 8,
"open_issues_count": 9,
"pages_access_level": "enabled",
"path": "rust-gitlab",
"path_with_namespace": "utils/rust-gitlab",
"permissions": {
......@@ -65,7 +68,7 @@
},
"printing_merge_request_link_enabled": true,
"public_jobs": true,
"readme_url": "https://gitlab.kitware.com/utils/rust-gitlab/blob/master/README.md",
"readme_url": "https://gitlab.kitware.com/utils/rust-gitlab/-/blob/master/README.md",
"remove_source_branch_after_merge": null,
"repository_access_level": "enabled",
"request_access_enabled": false,
......
......@@ -474,7 +474,7 @@ fn check_project_a(project: &Project) {
);
assert_eq!(
project.readme_url.as_ref().unwrap(),
"https://gitlab.kitware.com/utils/rust-gitlab/blob/master/README.md",
"https://gitlab.kitware.com/utils/rust-gitlab/-/blob/master/README.md",
);
assert!(project.owner.is_none());
assert_eq!(project.name, "rust-gitlab");
......@@ -488,7 +488,7 @@ fn check_project_a(project: &Project) {
);
assert_eq!(
project.last_activity_at,
datetime((2019, 7, 30), (16, 42, 57, 649)),
datetime((2020, 2, 29), (6, 30, 35, 515)),
);
}
......@@ -502,8 +502,8 @@ fn check_project_b(project: &Project) {
assert_eq!(project.avatar_url, None);
assert_eq!(project.ci_config_path, None);
assert_eq!(project.star_count, 6);
assert_eq!(project.forks_count, 17);
assert_eq!(project.open_issues_count, Some(8));
assert_eq!(project.forks_count, 24);
assert_eq!(project.open_issues_count, Some(9));
assert_eq!(project.public_jobs, true);
assert!(project.shared_with_groups.is_empty());
assert_eq!(project.only_allow_merge_if_pipeline_succeeds, Some(false));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment