[PR #606] [MERGED] Unit tests for models/access.go #15484

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

📋 Pull Request Information

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

Base: masterHead: tests/access2


📝 Commits (1)

  • 46ee612 Unit tests for models/access.go

📊 Changes

10 files changed (+258 additions, -0 deletions)

View changed files

models/access_test.go (+136 -0)
models/fixtures/access.yml (+11 -0)
models/fixtures/collaboration.yml (+11 -0)
models/fixtures/org_user.yml (+7 -0)
📝 models/fixtures/repository.yml (+22 -0)
models/fixtures/team.yml (+7 -0)
models/fixtures/team_repo.yml (+5 -0)
models/fixtures/team_user.yml (+5 -0)
📝 models/fixtures/user.yml (+39 -0)
📝 models/setup_for_test.go (+15 -0)

📄 Description

Also adds some more test fixtures to models/fixtures/


🔄 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/606 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 1/7/2017 **Status:** ✅ Merged **Merged:** 1/8/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `tests/access2` --- ### 📝 Commits (1) - [`46ee612`](https://github.com/go-gitea/gitea/commit/46ee6128a959cb76f6a9a101046923a954e37bb1) Unit tests for models/access.go ### 📊 Changes **10 files changed** (+258 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `models/access_test.go` (+136 -0) ➕ `models/fixtures/access.yml` (+11 -0) ➕ `models/fixtures/collaboration.yml` (+11 -0) ➕ `models/fixtures/org_user.yml` (+7 -0) 📝 `models/fixtures/repository.yml` (+22 -0) ➕ `models/fixtures/team.yml` (+7 -0) ➕ `models/fixtures/team_repo.yml` (+5 -0) ➕ `models/fixtures/team_user.yml` (+5 -0) 📝 `models/fixtures/user.yml` (+39 -0) 📝 `models/setup_for_test.go` (+15 -0) </details> ### 📄 Description Also adds some more test fixtures to `models/fixtures/` --- <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:35 -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#15484