Commit 8a793186 authored by Greg Messner's avatar Greg Messner
Browse files

Added test for project variable details (#387).

parent 1084773a
......@@ -333,6 +333,12 @@ public class TestGitLabApiBeans {
assertTrue(compareJson(events, "project-events.json"));
}
@Test
public void testProjectVariableDetails() throws Exception {
Variable variable = unmarshalResource(Variable.class, "project-variable-details.json");
assertTrue(compareJson(variable, "project-variable-details.json"));
}
@Test
public void testProtectedBranch() throws Exception {
ProtectedBranch protectedBranch = unmarshalResource(ProtectedBranch.class, "protected-branch.json");
......
{
"key": "TEST_VARIABLE_1",
"variable_type": "env_var",
"value": "TEST_1",
"protected": false,
"masked": true
}
\ No newline at end of file
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