0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-07 01:13:50 +01:00
gitea/models/unittest
Lunny Xiao 6410c34b7f
Refactor ref type (#33242)
Major changes:

1. do not sync ".keep" file during tests
2. fix incorrect route handler and empty repo handling (backported as #33253 with tests)
3. do not use `RepoRef`: most of the calls are abuses.
4. Use `git.RefType` instead of a new type definition `RepoRefType` on `context`.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-14 15:35:34 +08:00
..
consistency.go
fixtures_loader.go
fixtures_test.go
fixtures.go
fscopy.go Refactor ref type (#33242) 2025-01-14 15:35:34 +08:00
reflection.go
testdb.go
unit_tests.go