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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user