1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-03-27 21:38:54 +02:00

8 Commits

Author SHA1 Message Date
Andy Grunwald
c92a43e43d Applied a few smaller code changes, cleanups and removed DoNoClose, because a similar function was merged in between 2016-05-27 14:14:09 +02:00
Andy Grunwald
b1d5d70b51 Merge branch 'attachment' of https://github.com/jasonob/go-jira into jasonob-attachment
* 'attachment' of https://github.com/jasonob/go-jira:
  Increase test coverage slightly and add some robustness
  Add test cases for DoNoClose()
  Add test cases for PostAttachment() and DownloadAttachment(). Fix PostAttachment() to handle response as a JSON array of Attachments. Add Author *Assignee and Thumbnail definition to Attachment structure. Clarify comments on DoNoClose() call
  Ensure Authenticated test validates the path where the AuthenticationService hasn't been initialized
  Moved Authentication() test into AuthenticationService, and add test case to validate it operates correctly
  * Add ability to add and download attachments, including multi-part form handling * Add method to report if the current session is authenticated or not
2016-05-27 13:57:00 +02:00
Jason O'Broin
bdf2e299cf Add test cases for DoNoClose() 2016-05-25 00:17:15 -07:00
Kent Brockman
1eae640dbf fixed test case 2016-05-24 00:23:47 -06:00
Kent Brockman
8e67015ef3 Bug fix - reading http body produces error because the body is already read 2016-05-23 23:48:04 -06:00
Andy Grunwald
a39c0d9084 Added tests for authentication 2016-03-26 22:58:28 +01:00
Andy Grunwald
957b42073b Fixed govet error: arg inBody for printf verb %q of wrong type: *jira.Issue (vet) 2016-03-26 21:34:49 +01:00
Andy Grunwald
0feccadf8d Fix #1: Add some unit tests 2016-03-26 21:23:12 +01:00