[PR #2049] [MERGED] Improve integration test helper functions #16202

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2049
Author: @ethantkoenig
Created: 6/24/2017
Status: Merged
Merged: 6/25/2017
Merged by: @lunny

Base: masterHead: refactor/integration_test


📝 Commits (1)

  • 87342d8 Improve integration test helper functions

📊 Changes

13 files changed (+12 additions, -25 deletions)

View changed files

📝 integrations/api_comment_test.go (+1 -3)
📝 integrations/api_team_test.go (+1 -3)
📝 integrations/change_default_branch_test.go (+0 -2)
📝 integrations/delete_user_test.go (+0 -1)
📝 integrations/editor_test.go (+0 -5)
📝 integrations/integration_test.go (+10 -3)
📝 integrations/issue_test.go (+0 -1)
📝 integrations/pull_create_test.go (+0 -1)
📝 integrations/pull_merge_test.go (+0 -2)
📝 integrations/repo_commits_test.go (+0 -1)
📝 integrations/repo_fork_test.go (+0 -1)
📝 integrations/repo_migrate_test.go (+0 -1)
📝 integrations/signup_test.go (+0 -1)

📄 Description

Set request headers in helper functions, and new helper for requests with string-formatted URLs.


🔄 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/2049 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 6/24/2017 **Status:** ✅ Merged **Merged:** 6/25/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `refactor/integration_test` --- ### 📝 Commits (1) - [`87342d8`](https://github.com/go-gitea/gitea/commit/87342d82d29c8c07ae705abb411ae25d9ddda42d) Improve integration test helper functions ### 📊 Changes **13 files changed** (+12 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `integrations/api_comment_test.go` (+1 -3) 📝 `integrations/api_team_test.go` (+1 -3) 📝 `integrations/change_default_branch_test.go` (+0 -2) 📝 `integrations/delete_user_test.go` (+0 -1) 📝 `integrations/editor_test.go` (+0 -5) 📝 `integrations/integration_test.go` (+10 -3) 📝 `integrations/issue_test.go` (+0 -1) 📝 `integrations/pull_create_test.go` (+0 -1) 📝 `integrations/pull_merge_test.go` (+0 -2) 📝 `integrations/repo_commits_test.go` (+0 -1) 📝 `integrations/repo_fork_test.go` (+0 -1) 📝 `integrations/repo_migrate_test.go` (+0 -1) 📝 `integrations/signup_test.go` (+0 -1) </details> ### 📄 Description Set request headers in helper functions, and new helper for requests with string-formatted URLs. --- <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:04:37 -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#16202