[PR #963] [MERGED] Unit tests for repo watching #15683

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

📋 Pull Request Information

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

Base: masterHead: test/repo_watch


📝 Commits (1)

  • 2665bd7 Unit tests for repo watching

📊 Changes

4 files changed (+202 additions, -103 deletions)

View changed files

📝 models/fixtures/repository.yml (+1 -0)
📝 models/repo.go (+0 -103)
models/repo_watch.go (+103 -0)
models/repo_watch_test.go (+98 -0)

📄 Description

Move the watching-related functionality of models/repo.go to models/repo_watch.go, and add unit tests for models/repo_watch.go.


🔄 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/963 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 2/16/2017 **Status:** ✅ Merged **Merged:** 2/17/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `test/repo_watch` --- ### 📝 Commits (1) - [`2665bd7`](https://github.com/go-gitea/gitea/commit/2665bd79b0d0b8d51e86ca9323935f20967785bf) Unit tests for repo watching ### 📊 Changes **4 files changed** (+202 additions, -103 deletions) <details> <summary>View changed files</summary> 📝 `models/fixtures/repository.yml` (+1 -0) 📝 `models/repo.go` (+0 -103) ➕ `models/repo_watch.go` (+103 -0) ➕ `models/repo_watch_test.go` (+98 -0) </details> ### 📄 Description Move the watching-related functionality of `models/repo.go` to `models/repo_watch.go`, and add unit tests for `models/repo_watch.go`. --- <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:52: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#15683