[PR #2156] [MERGED] More integration tests for comment API #16263

Closed
opened 2025-11-02 12:06:14 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2156
Author: @ethantkoenig
Created: 7/13/2017
Status: Merged
Merged: 7/13/2017
Merged by: @lafriks

Base: masterHead: test/api_issue_comment


📝 Commits (1)

  • 51bd06c More integration tests for comment API

📊 Changes

1 file changed (+90 additions, -1 deletions)

View changed files

📝 integrations/api_comment_test.go (+90 -1)

📄 Description

Add tests for following endpoints:

  • GET /api/v1/repos/:owner/:reponame/issues/comments
  • POST /api/v1/repos/:owner/:reponame/issues/:index/comments
  • PATCH /api/v1/repos/:owner/:reponame/issues/:index/comments/:id
  • DELETE /api/v1/repos/:owner/:reponame/issues/:index/comments/:id

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2156 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 7/13/2017 **Status:** ✅ Merged **Merged:** 7/13/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `test/api_issue_comment` --- ### 📝 Commits (1) - [`51bd06c`](https://github.com/go-gitea/gitea/commit/51bd06c336f1c0c3e44054ec6d062438b56c904e) More integration tests for comment API ### 📊 Changes **1 file changed** (+90 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `integrations/api_comment_test.go` (+90 -1) </details> ### 📄 Description Add tests for following endpoints: - `GET /api/v1/repos/:owner/:reponame/issues/comments` - `POST /api/v1/repos/:owner/:reponame/issues/:index/comments` - `PATCH /api/v1/repos/:owner/:reponame/issues/:index/comments/:id` - `DELETE /api/v1/repos/:owner/:reponame/issues/:index/comments/:id` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:06:14 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16263