[PR #3022] [MERGED] Unit tests for wiki routers #16721

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3022
Author: @ethantkoenig
Created: 11/29/2017
Status: Merged
Merged: 11/30/2017
Merged by: @lafriks

Base: masterHead: tests/wiki_routers


📝 Commits (2)

  • 7d20ec8 Unit tests for wiki routers
  • 0dee14d Merge branch 'master' into tests/wiki_routers

📊 Changes

9 files changed (+285 additions, -69 deletions)

View changed files

📝 models/action_test.go (+1 -1)
📝 models/main_test.go (+1 -19)
📝 models/unit_tests.go (+32 -5)
📝 models/wiki_test.go (+31 -8)
📝 modules/test/context_tests.go (+30 -16)
routers/repo/main_test.go (+16 -0)
routers/repo/wiki_test.go (+171 -0)
📝 routers/user/home_test.go (+2 -2)
📝 routers/user/main_test.go (+1 -18)

📄 Description

Unit tests for handlers for various wiki routes.


🔄 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/3022 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 11/29/2017 **Status:** ✅ Merged **Merged:** 11/30/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `tests/wiki_routers` --- ### 📝 Commits (2) - [`7d20ec8`](https://github.com/go-gitea/gitea/commit/7d20ec8d7c73b3a3bbcd4b96b0d885a7d0149420) Unit tests for wiki routers - [`0dee14d`](https://github.com/go-gitea/gitea/commit/0dee14d3a31f44e2d3bf0f5cf1f29604c6d5c089) Merge branch 'master' into tests/wiki_routers ### 📊 Changes **9 files changed** (+285 additions, -69 deletions) <details> <summary>View changed files</summary> 📝 `models/action_test.go` (+1 -1) 📝 `models/main_test.go` (+1 -19) 📝 `models/unit_tests.go` (+32 -5) 📝 `models/wiki_test.go` (+31 -8) 📝 `modules/test/context_tests.go` (+30 -16) ➕ `routers/repo/main_test.go` (+16 -0) ➕ `routers/repo/wiki_test.go` (+171 -0) 📝 `routers/user/home_test.go` (+2 -2) 📝 `routers/user/main_test.go` (+1 -18) </details> ### 📄 Description Unit tests for handlers for various wiki routes. --- <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:17:19 -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#16721