You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 weeks ago
..
consistency.go
fixtures.go Refactor fixture loading for testing (#33024) 1 month ago
fixtures_loader.go Refactor fixture loading for testing (#33024) 1 month ago
fixtures_test.go Refactor fixture loading for testing (#33024) 1 month ago
fscopy.go Refactor ref type (#33242) 3 weeks ago
reflection.go
testdb.go Make git clone URL could use current signed-in user (#33091) 1 month ago
unit_tests.go