Commit 222fb26d authored by Greg Messner's avatar Greg Messner
Browse files

Mods to support IssuesApi (#69)

parent 0ebaceea
...@@ -84,7 +84,7 @@ public class TestNotesApi { ...@@ -84,7 +84,7 @@ public class TestNotesApi {
Project project = gitLabApi.getProjectApi().getProject(TEST_NAMESPACE, TEST_PROJECT_NAME); Project project = gitLabApi.getProjectApi().getProject(TEST_NAMESPACE, TEST_PROJECT_NAME);
assertNotNull(project); assertNotNull(project);
for (Issue issue : gitLabApi.getProjectApi().getIssues(project.getId())) { for (Issue issue : gitLabApi.getIssuesApi().getIssues(project.getId())) {
List<Note> notes = gitLabApi.getNotesApi().getNotes(project.getId(), issue.getIid()); List<Note> notes = gitLabApi.getNotesApi().getNotes(project.getId(), issue.getIid());
assertNotNull(notes); assertNotNull(notes);
// This requires some issues in the project // This requires some issues in the project
......
...@@ -35,5 +35,11 @@ ...@@ -35,5 +35,11 @@
"subscribed": false, "subscribed": false,
"user_notes_count": 1, "user_notes_count": 1,
"web_url": "http://example.com/example/example/issues/1", "web_url": "http://example.com/example/example/issues/1",
"confidential": false "confidential": false,
"time_stats": {
"time_estimate": 12600,
"total_time_spent": 0,
"human_time_estimate": "3h30m",
"human_total_time_spent": "0m"
}
} }
\ 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