1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-09-16 09:06:19 +02:00
This commit is contained in:
Andy Grunwald
2016-07-17 11:24:23 +02:00
parent 4b9e96b367
commit a2df25c45a
3 changed files with 4 additions and 4 deletions

View File

@@ -152,4 +152,4 @@ func (s *BoardService) GetAllSprints(boardID string) ([]Sprint, *Response, error
result := new(sprintsResult) result := new(sprintsResult)
resp, err := s.client.Do(req, result) resp, err := s.client.Do(req, result)
return result.Sprints, resp, err return result.Sprints, resp, err
} }

View File

@@ -557,4 +557,4 @@ func (s *IssueService) DoTransition(ticketID, transitionID string) (*Response, e
} }
return resp, nil return resp, nil
} }

View File

@@ -1,13 +1,13 @@
package jira package jira
import ( import (
"encoding/json"
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"net/http" "net/http"
"reflect" "reflect"
"strings" "strings"
"testing" "testing"
"encoding/json"
) )
func TestIssueGet_Success(t *testing.T) { func TestIssueGet_Success(t *testing.T) {
@@ -464,4 +464,4 @@ func TestIssueService_DoTransition(t *testing.T) {
if err != nil { if err != nil {
t.Error("Got error: %v", err) t.Error("Got error: %v", err)
} }
} }