[PR #619] [MERGED] Unit tests for models/action #15494

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

📋 Pull Request Information

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

Base: masterHead: tests/action


📝 Commits (1)

  • d58d168 Unit tests for models/action

📊 Changes

5 files changed (+397 additions, -19 deletions)

View changed files

📝 models/access_test.go (+14 -14)
models/action_test.go (+340 -0)
models/fixtures/action.yml (+22 -0)
📝 models/fixtures/user.yml (+5 -0)
📝 models/setup_for_test.go (+16 -5)

📄 Description

Also adds some more test fixtures, and rename LoadTestFixture to AssertExistsAndLoadBean


🔄 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/619 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 1/9/2017 **Status:** ✅ Merged **Merged:** 1/9/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `tests/action` --- ### 📝 Commits (1) - [`d58d168`](https://github.com/go-gitea/gitea/commit/d58d168139a99be05980e4f6b34d8f07e8ec1acb) Unit tests for models/action ### 📊 Changes **5 files changed** (+397 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `models/access_test.go` (+14 -14) ➕ `models/action_test.go` (+340 -0) ➕ `models/fixtures/action.yml` (+22 -0) 📝 `models/fixtures/user.yml` (+5 -0) 📝 `models/setup_for_test.go` (+16 -5) </details> ### 📄 Description Also adds some more test fixtures, and rename `LoadTestFixture` to `AssertExistsAndLoadBean` --- <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:47:51 -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#15494