aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/api_comment_test.go
Commit message (Collapse)AuthorAgeFilesLines
* [Refactor] Move APIFormat functions into convert package (#12856)65432020-10-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | * USER APIFormat -> ToUser * Migrate more and mark APIFormat deprecated * models.Comment APIFormat() -> convert.ToComment * models.Release APIFormat() -> convert.ToRelease * models.Attachments APIFormat() -> convert.ToReleaseAttachments * models.CommitStatus APIFormat() -> convert.ToCommitStatus * finish migration to convert.ToUser * Move Test * Imprufe Test * fix test Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [API] Add "before" query to ListIssueComments and ListRepoIssue… (#9685)65432020-01-131-2/+25
| | | | | | | | | * add "before" query to ListIssueComments and ListRepoIssueComments * Add TEST Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* [API] add comments endpoint for single comment (#9494)65432020-01-081-0/+27
| | | | | | | * add GET /repos/{owner}/{repo}/issues/comments/{id} and complete error list for swagger in other func * add repo check
* Fix "data race" in testlogger (#9159)zeripath2019-11-261-5/+5
| | | | | | * Fix data race in testlogger * Update git_helper_for_declarative_test.go
* Move sdk structs to modules/structs (#6905)Lunny Xiao2019-05-111-1/+1
| | | | | | | | | | | | * move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
* Enforce token on api routes [fixed critical security issue #4357] (#4840)B-OnTheGo2018-09-101-6/+9
|
* Fix comment API paths (#2813)Ethan Koenig2017-11-201-4/+4
|
* More integration tests for comment API (#2156)Ethan Koenig2017-07-141-1/+90
|
* Less verbose integration tests (#2123)Ethan Koenig2017-07-071-2/+1
| | | * Helper functions for intergration test boilerplate
* Improve integration test helper functions (#2049)Ethan Koenig2017-06-251-3/+1
| | | Set request headers in helper functions, and new helper for requests with string-formatted URLs
* Don't show non-comments in comments API (#2001)Ethan Koenig2017-06-181-0/+39