Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nicholas Bailey
rust-gitlab
Commits
7b4918de
Commit
7b4918de
authored
Aug 28, 2019
by
Brad King
Browse files
test: update data for gitlab 12.2
parent
b6f34038
Changes
4
Hide whitespace changes
Inline
Side-by-side
data/project.json
View file @
7b4918de
...
...
@@ -66,7 +66,7 @@
"public_jobs"
:
true
,
"readme_url"
:
"https://gitlab.kitware.com/utils/rust-gitlab/blob/master/README.md"
,
"repository_access_level"
:
"enabled"
,
"request_access_enabled"
:
tru
e
,
"request_access_enabled"
:
fals
e
,
"resolve_outdated_diff_discussions"
:
null
,
"shared_runners_enabled"
:
true
,
"shared_with_groups"
:
[],
...
...
data/user.json
View file @
7b4918de
...
...
@@ -18,7 +18,7 @@
"location"
:
null
,
"name"
:
"Kitware Robot"
,
"organization"
:
null
,
"private_profile"
:
null
,
"private_profile"
:
false
,
"projects_limit"
:
50
,
"public_email"
:
""
,
"skype"
:
""
,
...
...
data/user_public.json
View file @
7b4918de
...
...
@@ -18,7 +18,7 @@
"location"
:
null
,
"name"
:
"Kitware Robot"
,
"organization"
:
null
,
"private_profile"
:
null
,
"private_profile"
:
false
,
"projects_limit"
:
50
,
"public_email"
:
""
,
"skype"
:
""
,
...
...
src/test/types.rs
View file @
7b4918de
...
...
@@ -535,7 +535,7 @@ fn test_read_project() {
None
,
);
assert_eq!
(
project
.printing_merge_request_link_enabled
,
Some
(
true
));
assert_eq!
(
project
.request_access_enabled
,
tru
e
);
assert_eq!
(
project
.request_access_enabled
,
fals
e
);
assert_eq!
(
project
.resolve_outdated_diff_discussions
,
None
);
assert_eq!
(
project
.jobs_enabled
,
false
);
...
...
@@ -722,7 +722,7 @@ fn test_read_user() {
assert_eq!
(
user
.is_admin
,
None
);
assert_eq!
(
user
.highest_role
,
Some
(
AccessLevel
::
Owner
));
assert_eq!
(
user
.bio
,
Some
(
""
.to_string
()));
assert_eq!
(
user
.private_profile
,
None
);
assert_eq!
(
user
.private_profile
,
Some
(
false
)
);
assert_eq!
(
user
.location
,
None
);
assert_eq!
(
user
.public_email
,
Some
(
""
.to_string
()));
assert_eq!
(
user
.skype
,
""
);
...
...
@@ -754,7 +754,7 @@ fn test_read_user_public() {
);
assert_eq!
(
user_public
.is_admin
,
Some
(
true
));
assert_eq!
(
user_public
.bio
,
Some
(
""
.to_string
()));
assert_eq!
(
user_public
.private_profile
,
None
);
assert_eq!
(
user_public
.private_profile
,
Some
(
false
)
);
assert_eq!
(
user_public
.location
,
None
);
assert_eq!
(
user_public
.public_email
,
Some
(
""
.to_string
()));
assert_eq!
(
user_public
.skype
,
""
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment