0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-01 19:29:45 -05:00
forgejo/models
Earl Warren ad57be04b8
Add unit test for repository collaboration (#25640)
Add a few extra test cases and test functions for the collaboration
model to get everything covered by tests (except for error handling, as
we cannot suddenly mock errors from the database).


Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/825
Co-authored-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-07-03 21:41:14 +00:00
..
actions Fix content holes in Actions task logs file (#25560) 2023-06-28 19:07:29 +02:00
activities
admin
asymkey
auth
avatars
db Split lfs size from repository size (#22900) 2023-06-28 22:41:02 +00:00
dbfs Fix content holes in Actions task logs file (#25560) 2023-06-28 19:07:29 +02:00
fixtures Fix bug of branches API with tests (#25578) 2023-07-01 10:52:52 +08:00
git Make FindBranches have stable result (#25631) 2023-07-03 04:11:32 +00:00
issues Improve loadprojects for issue list (#25468) 2023-06-24 15:31:28 +00:00
migrations Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00
organization
packages
perm
project
pull
repo Add unit test for repository collaboration (#25640) 2023-07-03 21:41:14 +00:00
secret Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +00:00
shared/types
system
unit
unittest Refactor path & config system (#25330) 2023-06-21 13:50:26 +08:00
user Fix bug when change user name (#25637) 2023-07-03 12:05:59 +02:00
webhook
error.go Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00
fixture_generation.go
fixture_test.go
main_test.go
migrate.go
migrate_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go