1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-11-25 22:12:08 +02:00

Adjusted PR #19

* go doc
* go fmt
* Usage of already existing structs
* Adjustments related to the wrapping response
This commit is contained in:
Andy Grunwald
2016-06-19 15:08:53 +02:00
parent ce47602482
commit c0b29dac50
3 changed files with 45 additions and 44 deletions

View File

@@ -50,10 +50,10 @@ func TestBoardsGetFiltered(t *testing.T) {
boardsListOptions := &BoardListOptions{
BoardType: "scrum",
Name: "Test",
ProjectKeyOrId: "TE",
StartAt: 1,
MaxResults: 10,
ProjectKeyOrID: "TE",
}
boardsListOptions.StartAt = 1
boardsListOptions.MaxResults = 10
projects, _, err := testClient.Board.GetList(boardsListOptions)
if projects == nil {
@@ -122,7 +122,7 @@ func TestBoardCreate(t *testing.T) {
b := &Board{
Name: "Test",
Type: "kanban",
FilterId: 17,
FilterID: 17,
}
issue, _, err := testClient.Board.Create(b)
if issue == nil {