Commit c7b9aa5c authored by Greg Messner's avatar Greg Messner
Browse files

Fixed issue with GitLab 12.4

parent d003fbd9
...@@ -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);
......
Supports Markdown
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