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>
2 weeks ago
..
consistency.go Replace assert.Fail with assert.FailNow (#27578) 1 year ago
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) 2 weeks ago
reflection.go Refactor tests (#33021) 1 month ago
testdb.go Make git clone URL could use current signed-in user (#33091) 3 weeks ago
unit_tests.go Refactor tests (#33021) 1 month ago