1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-11-27 22:18:45 +02:00

test: Add unit test for priority api

This commit is contained in:
Thibaut Rousseau
2018-06-12 10:38:13 +02:00
parent 8491cb0034
commit e3ab82535d
3 changed files with 75 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ func (s *PriorityService) GetList() ([]Priority, *Response, error) {
}
priorityList := []Priority{}
resp, err := s.client.Do(req, priorityList)
resp, err := s.client.Do(req, &priorityList)
if err != nil {
return nil, resp, NewJiraError(resp, err)
}