[PR #3198] [MERGED] Unit tests for routers/repo/issue_label #16825

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3198
Author: @ethantkoenig
Created: 12/15/2017
Status: Merged
Merged: 12/15/2017
Merged by: @lafriks

Base: masterHead: tests/issue_label


📝 Commits (2)

  • e37ee37 Unit tests for routers/repo/issue_label
  • 3199a6c Merge branch 'master' into tests/issue_label

📊 Changes

15 files changed (+231 additions, -42 deletions)

View changed files

📝 integrations/integration_test.go (+0 -6)
📝 integrations/issue_test.go (+3 -2)
📝 integrations/links_test.go (+2 -1)
📝 integrations/pull_merge_test.go (+4 -2)
📝 integrations/release_test.go (+3 -1)
📝 integrations/repo_activity_test.go (+3 -1)
📝 integrations/repo_branch_test.go (+3 -1)
📝 integrations/timetracking_test.go (+4 -2)
📝 integrations/user_test.go (+2 -1)
📝 models/unit_tests.go (+18 -1)
📝 modules/test/context_tests.go (+7 -16)
modules/test/utils.go (+14 -0)
📝 routers/repo/issue.go (+1 -1)
📝 routers/repo/issue_label.go (+3 -7)
routers/repo/issue_label_test.go (+164 -0)

📄 Description

Adds unit tests for routers/repo/issue_label.go. Also a little bit of refactoring to reuse test utility functions.


🔄 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/3198 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 12/15/2017 **Status:** ✅ Merged **Merged:** 12/15/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `tests/issue_label` --- ### 📝 Commits (2) - [`e37ee37`](https://github.com/go-gitea/gitea/commit/e37ee373be070ff628dd4b301b87a99fd6d5b90c) Unit tests for routers/repo/issue_label - [`3199a6c`](https://github.com/go-gitea/gitea/commit/3199a6c797dad2179bd7b338a945bbb566f0bae9) Merge branch 'master' into tests/issue_label ### 📊 Changes **15 files changed** (+231 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `integrations/integration_test.go` (+0 -6) 📝 `integrations/issue_test.go` (+3 -2) 📝 `integrations/links_test.go` (+2 -1) 📝 `integrations/pull_merge_test.go` (+4 -2) 📝 `integrations/release_test.go` (+3 -1) 📝 `integrations/repo_activity_test.go` (+3 -1) 📝 `integrations/repo_branch_test.go` (+3 -1) 📝 `integrations/timetracking_test.go` (+4 -2) 📝 `integrations/user_test.go` (+2 -1) 📝 `models/unit_tests.go` (+18 -1) 📝 `modules/test/context_tests.go` (+7 -16) ➕ `modules/test/utils.go` (+14 -0) 📝 `routers/repo/issue.go` (+1 -1) 📝 `routers/repo/issue_label.go` (+3 -7) ➕ `routers/repo/issue_label_test.go` (+164 -0) </details> ### 📄 Description Adds unit tests for `routers/repo/issue_label.go`. Also a little bit of refactoring to reuse test utility functions. --- <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:19:58 -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#16825