Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
c7b9aa5c
Commit
c7b9aa5c
authored
Nov 09, 2019
by
Greg Messner
Browse files
Fixed issue with GitLab 12.4
parent
d003fbd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/java/org/gitlab4j/api/TestProjectApi.java
View file @
c7b9aa5c
...
@@ -690,7 +690,9 @@ public class TestProjectApi extends AbstractIntegrationTest {
...
@@ -690,7 +690,9 @@ public class TestProjectApi extends AbstractIntegrationTest {
assertEquals
(
key
,
matchingVariable
.
getKey
());
assertEquals
(
key
,
matchingVariable
.
getKey
());
assertEquals
(
value
,
matchingVariable
.
getValue
());
assertEquals
(
value
,
matchingVariable
.
getValue
());
assertFalse
(
matchingVariable
.
getProtected
());
assertFalse
(
matchingVariable
.
getProtected
());
assertNull
(
matchingVariable
.
getEnvironmentScope
());
String
scope
=
matchingVariable
.
getEnvironmentScope
();
assertTrue
(
scope
==
null
||
"*"
.
equals
(
scope
));
gitLabApi
.
getProjectApi
().
updateVariable
(
testProject
,
key
,
"NO_VALUE"
,
true
,
"DEV"
);
gitLabApi
.
getProjectApi
().
updateVariable
(
testProject
,
key
,
"NO_VALUE"
,
true
,
"DEV"
);
variable
=
gitLabApi
.
getProjectApi
().
getVariable
(
testProject
,
key
);
variable
=
gitLabApi
.
getProjectApi
().
getVariable
(
testProject
,
key
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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