[PR #878] [MERGED] Unit tests for issue_milestone #15629

Closed
opened 2025-11-02 11:51:03 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/878
Author: @ethantkoenig
Created: 2/9/2017
Status: Merged
Merged: 2/9/2017
Merged by: @lunny

Base: masterHead: issue_milestone


📝 Commits (1)

  • b3cf066 Unit tests for issue_milestone

📊 Changes

6 files changed (+609 additions, -366 deletions)

View changed files

📝 models/fixtures/issue.yml (+1 -0)
models/fixtures/milestone.yml (+15 -0)
📝 models/fixtures/repository.yml (+1 -0)
📝 models/issue.go (+0 -366)
models/issue_milestone.go (+352 -0)
models/issue_milestone_test.go (+240 -0)

📄 Description

Move milestone functionality to models/issue_milestone.go, remove unused functions and add unit tests.


🔄 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/878 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 2/9/2017 **Status:** ✅ Merged **Merged:** 2/9/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `issue_milestone` --- ### 📝 Commits (1) - [`b3cf066`](https://github.com/go-gitea/gitea/commit/b3cf0669fb5c4b132a6b43091ca3e6ec887aff95) Unit tests for issue_milestone ### 📊 Changes **6 files changed** (+609 additions, -366 deletions) <details> <summary>View changed files</summary> 📝 `models/fixtures/issue.yml` (+1 -0) ➕ `models/fixtures/milestone.yml` (+15 -0) 📝 `models/fixtures/repository.yml` (+1 -0) 📝 `models/issue.go` (+0 -366) ➕ `models/issue_milestone.go` (+352 -0) ➕ `models/issue_milestone_test.go` (+240 -0) </details> ### 📄 Description Move milestone functionality to `models/issue_milestone.go`, remove unused functions and add unit tests. --- <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 11:51:03 -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#15629