Commit 9cb819fb authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'gitlab-12.7'

70cb5c85

 test: update data for gitlab 12.7
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !195
parents 2fa44cf2 70cb5c85
This diff is collapsed.
......@@ -49,6 +49,11 @@
"milestone": null,
"moved_to_id": null,
"project_id": 855,
"references": {
"full": "utils/rust-gitlab#6",
"relative": "#6",
"short": "#6"
},
"state": "closed",
"subscribed": true,
"task_completion_status": {
......
......@@ -94,6 +94,11 @@
"pipeline": null,
"project_id": 855,
"reference": "!35",
"references": {
"full": "utils/rust-gitlab!35",
"relative": "!35",
"short": "!35"
},
"sha": "04e94ae667024a62a90179f395bfdc2b35f3efd2",
"should_remove_source_branch": null,
"source_branch": "add_hook-api",
......
......@@ -12,14 +12,15 @@
"auto_cancel_pending_pipelines": "enabled",
"auto_devops_deploy_strategy": "continuous",
"auto_devops_enabled": false,
"autoclose_referenced_issues": true,
"avatar_url": null,
"build_coverage_regex": "",
"build_git_strategy": "fetch",
"build_timeout": 3600,
"builds_access_level": "disabled",
"builds_access_level": "enabled",
"ci_config_path": null,
"ci_default_git_depth": null,
"container_registry_enabled": true,
"container_registry_enabled": false,
"created_at": "2016-06-29T13:35:12.495-04:00",
"creator_id": 13,
"default_branch": "master",
......@@ -32,9 +33,9 @@
"import_status": "none",
"issues_access_level": "enabled",
"issues_enabled": true,
"jobs_enabled": false,
"jobs_enabled": true,
"last_activity_at": "2019-07-30T12:42:57.649-04:00",
"lfs_enabled": true,
"lfs_enabled": false,
"merge_method": "merge",
"merge_requests_access_level": "enabled",
"merge_requests_enabled": true,
......@@ -75,6 +76,7 @@
"snippets_enabled": false,
"ssh_url_to_repo": "git@gitlab.kitware.com:utils/rust-gitlab.git",
"star_count": 6,
"suggestion_commit_message": null,
"tag_list": [],
"visibility": "public",
"web_url": "https://gitlab.kitware.com/utils/rust-gitlab",
......
......@@ -5,6 +5,7 @@
"label": {
"color": "#5843AD",
"description": "Documentation issues",
"description_html": "Documentation issues",
"id": 1720,
"name": "area:doc",
"text_color": "#FFFFFF"
......
......@@ -481,7 +481,7 @@ fn check_project_a(project: &Project) {
assert_eq!(project.name_with_namespace, "Utils / rust-gitlab");
assert_eq!(project.path, "rust-gitlab");
assert_eq!(project.path_with_namespace, "utils/rust-gitlab");
assert_eq!(project.container_registry_enabled, Some(true));
assert_eq!(project.container_registry_enabled, Some(false));
assert_eq!(
project.created_at,
datetime((2016, 6, 29), (17, 35, 12, 495)),
......@@ -495,7 +495,7 @@ fn check_project_a(project: &Project) {
fn check_project_b(project: &Project) {
assert_eq!(project.import_error, None);
assert_eq!(project.shared_runners_enabled, true);
assert_eq!(project.lfs_enabled, true);
assert_eq!(project.lfs_enabled, false);
assert_eq!(project.creator_id, UserId::new(13));
check_namespace_utils(&project.namespace);
assert!(project.forked_from_project.is_none());
......@@ -516,7 +516,7 @@ fn check_project_b(project: &Project) {
assert_eq!(project.request_access_enabled, false);
assert_eq!(project.resolve_outdated_diff_discussions, None);
assert_eq!(project.jobs_enabled, false);
assert_eq!(project.jobs_enabled, true);
assert_eq!(project.issues_enabled, true);
assert_eq!(project.merge_requests_enabled, true);
assert_eq!(project.snippets_enabled, false);
......@@ -524,10 +524,7 @@ fn check_project_b(project: &Project) {
}
fn check_project_c(project: &Project) {
assert_eq!(
project.builds_access_level,
FeatureVisibilityLevel::Disabled,
);
assert_eq!(project.builds_access_level, FeatureVisibilityLevel::Enabled);
assert_eq!(project.issues_access_level, FeatureVisibilityLevel::Enabled);
assert_eq!(
project.merge_requests_access_level,
......
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